introduce macro `IGNORE(x)', which shall used to mark unused parameters
This commit is contained in:
parent
506703b64c
commit
9150ae9afb
|
|
@ -1,3 +1,9 @@
|
|||
2010-11-16 Robert Larice
|
||||
* src/include/ngspice.h :
|
||||
introduce macro `IGNORE(x)', which shall used to mark unused parameters
|
||||
for better visibility in the source code
|
||||
and to swallow compiler warnings
|
||||
|
||||
2010-11-14 Holger Vogt
|
||||
* inpcom.c: bug no. 3072940
|
||||
|
||||
|
|
|
|||
|
|
@ -245,5 +245,8 @@ extern int tcl_fprintf(FILE *f, const char *format, ...);
|
|||
|
||||
#endif
|
||||
|
||||
/* macro to ignore unused variables and parameters */
|
||||
#define IGNORE(x) (void)x
|
||||
|
||||
|
||||
#endif /* NGSPICE_H_INCLUDED */
|
||||
|
|
|
|||
Loading…
Reference in New Issue