diff options
author | Vladimir Kobal <vlad@prokk.net> | 2020-04-03 13:30:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-03 13:30:41 +0300 |
commit | c7d8aecfe9675b04ae5acaa84539baec46dd3d2a (patch) | |
tree | 5d54b6a4ee935b1a5c26a6f88a9c142b81b329d4 /claim | |
parent | 93ee07fd4c499b3feadc82fc08349cf527bf3fd1 (diff) |
Fix compiler warnings in the claiming code (#8567)
Diffstat (limited to 'claim')
-rw-r--r-- | claim/claim.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/claim/claim.c b/claim/claim.c index 6e14cea658..f3b7ff07e8 100644 --- a/claim/claim.c +++ b/claim/claim.c @@ -25,7 +25,6 @@ static char *claiming_errors[] = { "Service Unavailable" // 15 }; - static char *claimed_id = NULL; char *is_agent_claimed(void) @@ -107,6 +106,9 @@ void claim_agent(char *claiming_arguments) } error("Agent failed to be claimed with the following error message:"); error("\"%s\"", claiming_errors[exit_code]); +#else + UNUSED(claiming_arguments); + UNUSED(claiming_errors); #endif } |