set but not used warning in reveal_paths()

This commit is contained in:
nhmall
2024-12-26 19:55:08 -05:00
parent 556f1c9839
commit 959cc47665

View File

@@ -4567,7 +4567,9 @@ debugcore(const char *filename, boolean wildcards)
void
reveal_paths(int code)
{
#if defined(SYSCF)
boolean skip_sysopt = FALSE;
#endif
const char *fqn, *nodumpreason;
char buf[BUFSZ];
@@ -4721,6 +4723,7 @@ reveal_paths(int code)
}
#endif /* ?DUMPLOG */
#ifdef SYSCF
#ifdef WIN32
if (!skip_sysopt) {
if (sysopt.portable_device_paths) {
@@ -4735,6 +4738,7 @@ reveal_paths(int code)
}
}
}
#endif
#endif
/* personal configuration file */
@@ -4793,6 +4797,12 @@ reveal_paths(int code)
#if defined(WIN32) && !defined(WIN32CON)
wait_synch();
#endif
#ifndef DUMPLOG
#ifdef SYSCF
nhUse(skip_sysopt);
#endif
nhUse(nodumpreason);
#endif
}
/* ---------- BEGIN TRIBUTE ----------- */