Resolve many build warnings
This patch fixes many warnings from the beginning of the build up to and including the depend stage. Nearly all warnings should be gone even with -Wall.
This commit is contained in:
committed by
Jon Trulson
parent
2bf29e5d63
commit
42e891d9e7
@@ -40,7 +40,7 @@ void addent(M_NOPAR)
|
||||
M_ENTITY *new ;
|
||||
|
||||
new = (M_ENTITY *) m_malloc(sizeof(M_ENTITY), "entity") ;
|
||||
if (entity = (M_ENTITY *) m_ntrtrie(name, m_enttrie, (M_TRIE *) new)) {
|
||||
if ((entity = (M_ENTITY *) m_ntrtrie(name, m_enttrie, (M_TRIE *) new))) {
|
||||
m_free(new, "entity") ;
|
||||
if (! entity->wheredef) return ;
|
||||
if (entity->wheredef == M_DBUILD) {
|
||||
|
||||
Reference in New Issue
Block a user