pgbconsole icon indicating copy to clipboard operation
pgbconsole copied to clipboard

make error in function arg_parse

Open saifulmuhajir opened this issue 8 years ago • 0 comments

Hi, I am trying to make the package on Arch Linux and this error occurred:

gcc -g -std=gnu99 -O2 -Wall -pedantic -I/usr/include -L/usr/lib -o pgbconsole pgbconsole.c -lncurses -lpq
pgbconsole.c: In function ‘arg_parse’:
pgbconsole.c:199:11: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
         } else
           ^~~~
pgbconsole.c:203:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘else’
             optind++;
             ^~~~~~

saifulmuhajir avatar May 05 '17 07:05 saifulmuhajir