From: Simon Ruderich Date: Thu, 13 Jun 2013 20:15:49 +0000 (+0200) Subject: Remove duplicate code in init_from_environment(). X-Git-Tag: 0.1~50 X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=1d1b6d77696e233235d558af9d66bc6edb184ca0;p=coloredstderr%2Fcoloredstderr.git Remove duplicate code in init_from_environment(). --- diff --git a/src/trackfds.h b/src/trackfds.h index 56490ad..acf7ce3 100644 --- a/src/trackfds.h +++ b/src/trackfds.h @@ -124,8 +124,7 @@ static void init_from_environment(void) { } /* ',' at the beginning or double ',' - ignore. */ if (x == last) { - last = x + 1; - continue; + goto next; } if (i == count) {