diff options
author | Loic Dachary <loic@dachary.org> | 2014-03-06 14:48:34 +0100 |
---|---|---|
committer | Loic Dachary <loic@dachary.org> | 2014-03-06 17:47:59 +0100 |
commit | 3c4a451b509cfc3d51f9906326a66ac3e95de9d4 (patch) | |
tree | 7c37308c99e853c9b493233aacd1570a9d2f24a8 /tools | |
parent | d8863ceff7c4e462c997cbdd8f5b53ea165df3fe (diff) | |
download | gf-complete-3c4a451b509cfc3d51f9906326a66ac3e95de9d4.tar.gz |
silence some warnings for unset variables
By setting them when they are defined and when the compiler fails to see
the logic is ok.
Signed-off-by: Loic Dachary <loic@dachary.org>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gf_inline_time.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gf_inline_time.c b/tools/gf_inline_time.c index e64f0b3..193c004 100644 --- a/tools/gf_inline_time.c +++ b/tools/gf_inline_time.c @@ -62,8 +62,8 @@ int main(int argc, char **argv) int w, j, i, size, iterations; gf_t gf; double timer, elapsed, dnum, num; - uint8_t *ra, *rb, *mult4, *mult8; - uint16_t *ra16, *rb16, *log16, *alog16; + uint8_t *ra = NULL, *rb = NULL, *mult4, *mult8; + uint16_t *ra16 = NULL, *rb16 = NULL, *log16, *alog16; time_t t0; if (argc != 5) usage(NULL); |