diff options
author | Michael Schroeder <mls@suse.de> | 2008-01-29 16:57:10 +0000 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2008-01-29 16:57:10 +0000 |
commit | c030c5cd81cfbcdcdf8262f7a213aed426f87229 (patch) | |
tree | 0405d5e005c29181df7b4dbc747946a618471837 /src/dirpool.h | |
parent | 5bb97e51a00ec15f1cb6bd6b5f3b4befd0263e1d (diff) | |
download | libsolv-c030c5cd81cfbcdcdf8262f7a213aed426f87229.tar.gz libsolv-c030c5cd81cfbcdcdf8262f7a213aed426f87229.tar.bz2 libsolv-c030c5cd81cfbcdcdf8262f7a213aed426f87229.zip |
- split assignment to shut up stupid g++ compiler
Diffstat (limited to 'src/dirpool.h')
-rw-r--r-- | src/dirpool.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dirpool.h b/src/dirpool.h index fb441d7..a3bc9fa 100644 --- a/src/dirpool.h +++ b/src/dirpool.h @@ -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 |