diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-05-31 17:17:13 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-05-31 17:17:13 +0400 |
commit | 0612e84b3cec508c3d62d38c4e2682c85cc808bb (patch) | |
tree | db777e38f9c528127e195ad01da6a3088dc6da4a /src/statfile.c | |
parent | ae3eb4dfd787052bebc732c3e37b56f0800e1aa2 (diff) | |
download | rspamd-0612e84b3cec508c3d62d38c4e2682c85cc808bb.tar.gz rspamd-0612e84b3cec508c3d62d38c4e2682c85cc808bb.zip |
* Fix strict aliasing while compiling with optimization
* Fix tanhl detection for platforms that have not implementation of it
* Remove several compile warnings
Diffstat (limited to 'src/statfile.c')
-rw-r--r-- | src/statfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/statfile.c b/src/statfile.c index 005ea7c8a..08b271065 100644 --- a/src/statfile.c +++ b/src/statfile.c @@ -418,7 +418,7 @@ statfile_pool_create (statfile_pool_t * pool, char *filename, size_t size) }; struct stat_file_block block = { 0, 0, 0 }; int fd; - unsigned int buflen, nblocks; + unsigned int buflen = 0, nblocks; char *buf = NULL; if (statfile_pool_is_open (pool, filename) != NULL) { |