mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-13 14:34:33 +02:00
remove some -Wshadow warnings
these are quite noisy, but it's not a big deal to remove them. Change-Id: I5deb08f10263feb77e2cc8a70be44ad4f725febd
This commit is contained in:
@ -310,8 +310,8 @@ static void SaveOutput(const WebPDecBuffer* const buffer,
|
||||
if (ok) {
|
||||
printf("Saved file %s\n", out_file);
|
||||
if (verbose) {
|
||||
const double time = StopwatchReadAndReset(&stop_watch);
|
||||
printf("Time to write output: %.3fs\n", time);
|
||||
const double write_time = StopwatchReadAndReset(&stop_watch);
|
||||
printf("Time to write output: %.3fs\n", write_time);
|
||||
}
|
||||
} else {
|
||||
fprintf(stderr, "Error writing file %s !!\n", out_file);
|
||||
@ -462,8 +462,8 @@ int main(int argc, const char *argv[]) {
|
||||
status = WebPDecode(data, data_size, &config);
|
||||
|
||||
if (verbose) {
|
||||
const double time = StopwatchReadAndReset(&stop_watch);
|
||||
printf("Time to decode picture: %.3fs\n", time);
|
||||
const double decode_time = StopwatchReadAndReset(&stop_watch);
|
||||
printf("Time to decode picture: %.3fs\n", decode_time);
|
||||
}
|
||||
end:
|
||||
free((void*)data);
|
||||
|
Reference in New Issue
Block a user