set but not used warning in reveal_paths()
This commit is contained in:
10
src/files.c
10
src/files.c
@@ -4567,7 +4567,9 @@ debugcore(const char *filename, boolean wildcards)
|
|||||||
void
|
void
|
||||||
reveal_paths(int code)
|
reveal_paths(int code)
|
||||||
{
|
{
|
||||||
|
#if defined(SYSCF)
|
||||||
boolean skip_sysopt = FALSE;
|
boolean skip_sysopt = FALSE;
|
||||||
|
#endif
|
||||||
const char *fqn, *nodumpreason;
|
const char *fqn, *nodumpreason;
|
||||||
|
|
||||||
char buf[BUFSZ];
|
char buf[BUFSZ];
|
||||||
@@ -4721,6 +4723,7 @@ reveal_paths(int code)
|
|||||||
}
|
}
|
||||||
#endif /* ?DUMPLOG */
|
#endif /* ?DUMPLOG */
|
||||||
|
|
||||||
|
#ifdef SYSCF
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
if (!skip_sysopt) {
|
if (!skip_sysopt) {
|
||||||
if (sysopt.portable_device_paths) {
|
if (sysopt.portable_device_paths) {
|
||||||
@@ -4735,6 +4738,7 @@ reveal_paths(int code)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* personal configuration file */
|
/* personal configuration file */
|
||||||
@@ -4793,6 +4797,12 @@ reveal_paths(int code)
|
|||||||
#if defined(WIN32) && !defined(WIN32CON)
|
#if defined(WIN32) && !defined(WIN32CON)
|
||||||
wait_synch();
|
wait_synch();
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef DUMPLOG
|
||||||
|
#ifdef SYSCF
|
||||||
|
nhUse(skip_sysopt);
|
||||||
|
#endif
|
||||||
|
nhUse(nodumpreason);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---------- BEGIN TRIBUTE ----------- */
|
/* ---------- BEGIN TRIBUTE ----------- */
|
||||||
|
|||||||
Reference in New Issue
Block a user