managed-commons / phantom

Automatically exported from code.google.com/p/phantom
Other
1 stars 1 forks source link

Build fails unused-but-set error #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Following the instructions in the README, I get the following error when I try 
to compile.

main.c: In function ‘main’:
main.c:137:18: error: variable ‘tun’ set but not used 
[-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors

Perhaps -Werror=unused-but-set-variable should be turned off? 

Original issue reported on code.google.com by zhehao....@gmail.com on 20 Aug 2011 at 12:48

GoogleCodeExporter commented 9 years ago
fixed by removing the unused variable

Original comment by spjss...@gmail.com on 12 Sep 2011 at 6:15