Skip to content

Commit

Permalink
Merge pull request #357 from avm/fix-unused-warning
Browse files Browse the repository at this point in the history
Fix unused function/variable warnings.
  • Loading branch information
blackav authored Sep 18, 2024
2 parents 885c5c9 + f08439d commit 3e5e9a8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/ej-compile.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ static unsigned char compile_server_queue_dir[PATH_MAX];
static unsigned char compile_server_queue_dir_dir[PATH_MAX];
static unsigned char compile_server_src_dir[PATH_MAX];
static unsigned char heartbeat_dir[PATH_MAX];
#if defined EJUDGE_COMPILE_SPOOL_DIR
static unsigned char export_config_dir[PATH_MAX];
#endif
static unsigned char *agent_name;
static struct AgentClient *agent;
static unsigned char *instance_id;
Expand Down Expand Up @@ -1539,6 +1541,7 @@ copy_to_local_cache(
return 0;
}

#if defined EJUDGE_COMPILE_SPOOL_DIR
static int
save_config(void)
{
Expand Down Expand Up @@ -1589,6 +1592,7 @@ save_config(void)

return 0;
}
#endif

static int
new_loop(int parallel_mode, const unsigned char *global_log_path)
Expand Down

0 comments on commit 3e5e9a8

Please sign in to comment.