Thomas-Tsai/partclone — pull request #23 by okkez (2012-11-13 07:22:43+00:00)
Title: Suppress warnings reported by gcc for main.c, partclone.c, progress.h

I fixed some warnings reported by gcc.

````
partclone.c:343:9: warning: unused variable ‘debug’ [-Wunused-variable]
partclone.c:1056:24: warning: unused variable ‘dev_size’ [-Wunused-variable]
partclone.c:1126:9: warning: unused variable ‘block’ [-Wunused-variable]
progress.h:53:13: warning: ‘calculate_speed’ declared ‘static’ but never defined [-Wunused-function]
progress.h:63:8: warning: ‘open_p_ncurses’ declared ‘static’ but never defined [-Wunused-function]
progress.h:64:8: warning: ‘close_p_ncurses’ declared ‘static’ but never defined [-Wunused-function]
main.c:130:11: warning: unused variable ‘s_count’ [-Wunused-variable]
main.c:128:11: warning: unused variable ‘n_crc_size’ [-Wunused-variable]
partclone.c:348:20: warning: unused variable ‘opt’ [-Wunused-variable]
````

````
$ ./configure --enable-fat --enable-ncursesw CFLAGS="-std=gnu99 -Wall"
$ make 2> make.log
````

and

````
$ ./configure --enable-fat CFLAGS="-std=gnu99 -Wall"
$ make 2> make.log
````