Browse Source

Fixed compiler warnings related to const, unreachable code, and an empty translation unit.

pre-master-46
Holger Vogt 6 years ago
parent
commit
c77da1870d
  1. 10
      src/winmain.c
  2. 1
      src/xspice/mif/mifutil.c

10
src/winmain.c

@ -1641,4 +1641,14 @@ winmessage(char *new_msg)
} }
#else /* HAS_WINGUI not defined */
/* Prevent warning regarding empty translation unit */
static void dummy(void)
{
return;
} /* end of function dummy */
#endif /* HAS_WINGUI */ #endif /* HAS_WINGUI */

1
src/xspice/mif/mifutil.c

@ -142,7 +142,6 @@ char *MIFgettok(char **s)
} }
break; break;
} }
return NULL; /* should not happen */
} }
#if 0 #if 0

Loading…
Cancel
Save