]> ruderich.org/simon Gitweb - coloredstderr/coloredstderr.git/commitdiff
Remove duplicate code in init_from_environment().
authorSimon Ruderich <simon@ruderich.org>
Thu, 13 Jun 2013 20:15:49 +0000 (22:15 +0200)
committerSimon Ruderich <simon@ruderich.org>
Thu, 13 Jun 2013 20:15:49 +0000 (22:15 +0200)
src/trackfds.h

index 56490adf1ad37b504e88cc0c62fc86e0d2cd8282..acf7ce336d18dd30d29a661d62fe9bdfbeba917c 100644 (file)
@@ -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) {