prevent unused
This commit is contained in:
parent
c2d79e44b6
commit
c241af9864
|
|
@ -975,8 +975,10 @@ inp_readall(FILE *fp, struct line **data, int call_depth, char *dir_name)
|
|||
char *global_copy = NULL, keep_char;
|
||||
int line_number = 1; /* sjb - renamed to avoid confusion with struct line */
|
||||
FILE *newfp;
|
||||
#ifdef _DEBUG
|
||||
FILE *fdo;
|
||||
struct line *tmp_ptr1 = NULL;
|
||||
#endif
|
||||
int i, j;
|
||||
bool found_library, found_lib_name, found_end = FALSE, shell_eol_continuation = FALSE;
|
||||
bool dir_name_flag = FALSE;
|
||||
|
|
@ -2644,9 +2646,7 @@ get_number_terminals( char *c )
|
|||
char *name[10];
|
||||
char nam_buf[33];
|
||||
bool area_found = FALSE;
|
||||
#ifdef TRACE
|
||||
char first_toc[32];
|
||||
#endif
|
||||
|
||||
switch (*c) {
|
||||
case 'r': case 'c': case 'l': case 'k': case 'f': case 'h': case 'b':
|
||||
case 'v': case 'i': case 'w': case 'd':
|
||||
|
|
|
|||
|
|
@ -790,8 +790,8 @@ main(int argc, char **argv)
|
|||
case 'c': /* Circuit file */
|
||||
if (optarg) {
|
||||
if (!(circuit_file = fopen(optarg, "r"))) {
|
||||
perror("circuit file not available");
|
||||
sp_shutdown(EXIT_BAD);
|
||||
perror("circuit file not available");
|
||||
sp_shutdown(EXIT_BAD);
|
||||
}
|
||||
istty = FALSE;
|
||||
}
|
||||
|
|
@ -996,8 +996,10 @@ bot:
|
|||
current algorithm is uniform at the expense of a little
|
||||
startup time. */
|
||||
FILE *tempfile;
|
||||
#ifdef HAS_WINDOWS
|
||||
char *tpf;
|
||||
bool has_smk = FALSE;
|
||||
#endif
|
||||
tempfile = tmpfile();
|
||||
/* tmpfile() returns NULL, if in MS Windows as non admin user
|
||||
then we add a tempfile in the local directory */
|
||||
|
|
|
|||
Loading…
Reference in New Issue