mirror of
https://github.com/open-simh/simtools.git
synced 2026-01-13 23:36:03 +00:00
Fix some warnings from clang.
This commit is contained in:
parent
59711f17f2
commit
6c992f6406
2
Makefile
2
Makefile
@ -31,7 +31,7 @@ clean:
|
||||
-rm -f $(MACRO11_OBJS) $(DUMPOBJ_OBJS) macro11 dumpobj
|
||||
|
||||
macro11.o: macro11.c macro11.h rad50.h object.h stream2.h \
|
||||
mlb.h util.h
|
||||
mlb.h util.h symbols.h
|
||||
mlb.o: mlb.c rad50.h stream2.h mlb.h macro11.h util.h
|
||||
mlb-rsx.o: mlb-rsx.c rad50.h stream2.h mlb.h macro11.h util.h
|
||||
object.o: object.c rad50.h object.h
|
||||
|
||||
2
parse.c
2
parse.c
@ -44,7 +44,7 @@ char *skipdelim_comma(
|
||||
int *comma)
|
||||
{
|
||||
cp = skipwhite(cp);
|
||||
if (*comma = (*cp == ',')) {
|
||||
if ((*comma = (*cp == ','))) {
|
||||
cp = skipwhite(cp + 1);
|
||||
}
|
||||
return cp;
|
||||
|
||||
@ -3,6 +3,7 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "symbols.h" /* my own definitions */
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user