- split assignment to shut up stupid g++ compiler
authorMichael Schroeder <mls@suse.de>
Tue, 29 Jan 2008 16:57:10 +0000 (16:57 +0000)
committerMichael Schroeder <mls@suse.de>
Tue, 29 Jan 2008 16:57:10 +0000 (16:57 +0000)
src/dirpool.h

index fb441d7..a3bc9fa 100644 (file)
@@ -58,7 +58,8 @@ dirpool_child(Dirpool *dp, Id did)
 static inline void
 dirpool_free_dirtraverse(Dirpool *dp)
 {
-  dp->dirtraverse = sat_free(dp->dirtraverse);
+  sat_free(dp->dirtraverse);
+  dp->dirtraverse = 0;
 }
 
 static inline Id