summaryrefslogtreecommitdiffstats
path: root/claim/claim.c
diff options
context:
space:
mode:
Diffstat (limited to 'claim/claim.c')
-rw-r--r--claim/claim.c4
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
}