diff options
author | Joel Rosdahl <joel@rosdahl.net> | 2018-10-02 21:48:47 +0200 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2018-10-02 21:48:47 +0200 |
commit | b693475eb96963f9fc6de5d2a4d6a4fabc553779 (patch) | |
tree | 7cc694cb6dcff5b2e3a5e1485dca88e96932dca1 | |
parent | 3896b68fc8cf2ae378dae19b6257b26e6bd9ad57 (diff) | |
download | ccache-b693475eb96963f9fc6de5d2a4d6a4fabc553779.tar.gz |
Fix Clang warning “declaration shadows a local variable”
-rw-r--r-- | src/ccache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ccache.c b/src/ccache.c index 9fae59bd..cd74f116 100644 --- a/src/ccache.c +++ b/src/ccache.c @@ -3602,7 +3602,7 @@ ccache_main_options(int argc, char *argv[]) if (size == 0) { printf("Unset cache size limit\n"); } else { - char *s = format_human_readable_size(size); + s = format_human_readable_size(size); printf("Set cache size limit to %s\n", s); free(s); } |