- Notifications
You must be signed in to change notification settings - Fork5
Commit329a1b7
committed
I get the following warning when I compile src/bin/pg_id/pg_id.c:
gcc -pipe -g -Wall -Wmissing-prototypes -Wmissing-declarations-I../../../src/include -c -o pg_id.o pg_id.c -MMDpg_id.c: In function `main':pg_id.c:35: warning: unused variable `optarg'The attached trivial patch fixes the warning by removing the variable.Neil Conway1 parentcf3cc75 commit329a1b7
1 file changed
+1
-2
lines changedLines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 |
| - | |
36 | 35 |
| |
37 | 36 |
| |
38 | 37 |
| |
|
0 commit comments
Comments
(0)