Fix two warnings found by gcc-9.2:
commit578d14f51ac5d2dc865d551206429875cc2aad39
authorPavel Timofeev <timp@5524.local>
Tue, 4 Aug 2020 13:04:56 +0000 (4 13:04 +0000)
committerPavel Timofeev <timp@5524.local>
Tue, 4 Aug 2020 13:04:56 +0000 (4 13:04 +0000)
treeef269369953b83f5ddfea8adb1f44e3a9a282db3
parentbe545814aeca1158ae38e2d6c66b1197679dab63
Fix two warnings found by gcc-9.2:

sockssrv.c: In function 'main':
sockssrv.c:430:17: warning: declaration of 'c' shadows a previous local [-Wshadow]
  430 |   struct client c;
      |                 ^
sockssrv.c:379:6: note: shadowed declaration is here
  379 |  int c;
      |      ^
sockssrv.c:405:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  405 |     dprintf(2, "error: option -%c requires an operand\n", optopt);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sockssrv.c:406:4: note: here
  406 |    case '?':
      |    ^~~~
sockssrv.c