Code

command.c: put curly braces around a single large statement
[ncmpc.git] / src / options.c
index 63f8aab4cffb0dae85cfa2f01be3cf211afb08ec..e84b5013b1859d80b3d20eeec03a75f96e4baaf0 100644 (file)
@@ -97,9 +97,9 @@ lookup_option(int s, char *l)
 
        for (i = 0; i < option_table_size; ++i) {
                if (l && strcmp(l, option_table[i].longopt) == 0)
-                       return &option_table[i];;
+                       return &option_table[i];
                if (s && s == option_table[i].shortopt)
-                       return &option_table[i];;
+                       return &option_table[i];
        }
 
        return NULL;