Commit 0a397e89 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Unused variable



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3953 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent c66c40f4
...@@ -578,8 +578,8 @@ main(int argc, char * const *argv) ...@@ -578,8 +578,8 @@ main(int argc, char * const *argv)
if (i_arg != NULL) { if (i_arg != NULL) {
size_t len; if (snprintf(heritage.identity, sizeof heritage.identity,
if (snprintf(heritage.identity, sizeof heritage.identity, "%s", i_arg) > sizeof heritage.identity) { "%s", i_arg) > sizeof heritage.identity) {
fprintf(stderr, "Invalid identity name: %s\n", fprintf(stderr, "Invalid identity name: %s\n",
strerror(ENAMETOOLONG)); strerror(ENAMETOOLONG));
exit(1); exit(1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment