Thomas-Tsai/partclone — pull request #24 by okkez (2012-11-13 07:51:11+00:00)
Title: Suppress warnings reported by gcc for fatclone.[ch]

I fixed warnings reported by gcc for fatclone.[ch].

````
fatclone.h:89:13: warning: ‘fs_open’ declared ‘static’ but never defined [-Wunused-function]
fatclone.h:92:13: warning: ‘fs_close’ declared ‘static’ but never defined [-Wunused-function]
fatclone.h:101:27: warning: ‘get_used_block’ declared ‘static’ but never defined [-Wunused-function]
fatclone.h:104:14: warning: ‘get_fat_type’ declared ‘static’ but never defined [-Wunused-function]
fatclone.h:122:27: warning: ‘mark_reserved_sectors’ declared ‘static’ but never defined [-Wunused-function]
fatclone.c:246:24: warning: unused variable ‘i’ [-Wunused-variable]
fatclone.c:274:24: warning: unused variable ‘i’ [-Wunused-variable]
fatclone.c:301:24: warning: unused variable ‘i’ [-Wunused-variable]
fatclone.c:332:24: warning: unused variable ‘free_blocks’ [-Wunused-variable]
fatclone.c:331:24: warning: unused variable ‘cluster_count’ [-Wunused-variable]
fatclone.c:330:24: warning: unused variable ‘sec_per_fat’ [-Wunused-variable]
fatclone.c:329:24: warning: unused variable ‘data_sec’ [-Wunused-variable]
fatclone.c:326:10: warning: unused variable ‘sig’ [-Wunused-variable]
fatclone.c:370:20: warning: unused variable ‘opt’ [-Wunused-variable]
fatclone.c:369:14: warning: unused variable ‘Fat32_Entry’ [-Wunused-variable]
fatclone.c:368:14: warning: unused variable ‘Fat16_Entry’ [-Wunused-variable]
fatclone.c:362:9: warning: unused variable ‘rd’ [-Wunused-variable]
fatclone.c:361:31: warning: unused variable ‘j’ [-Wunused-variable]
fatclone.c:431:9: warning: unused variable ‘rd’ [-Wunused-variable]
````

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