diff options
author | Jing Yu <jingyu@google.com> | 2010-05-24 11:00:02 -0700 |
---|---|---|
committer | Jing Yu <jingyu@google.com> | 2010-05-24 11:00:02 -0700 |
commit | e0faec180004afb9a68ffe7dffce591f0dec305f (patch) | |
tree | dc3c3f9288405fa0c6a4ff94f62e2276234362a6 /pico | |
parent | 8e199439ff3a726412b31b0c75f50b5aee7a77a1 (diff) | |
download | external_svox-e0faec180004afb9a68ffe7dffce591f0dec305f.zip external_svox-e0faec180004afb9a68ffe7dffce591f0dec305f.tar.gz external_svox-e0faec180004afb9a68ffe7dffce591f0dec305f.tar.bz2 |
Remove redundant initilization to get rid of gcc-4.5 warning:
warning: operation on 'sig_inObj->int_vec38' may be undefined [-Wsequence-point]
The source code has cyclic initilization: a = c = b = c. gcc-4.5 reports
a warning that c may be undefined. The patch is simply removing the redundant
"= c".
Tested the patch with all gcc versions.
Change-Id: I4a6e9ee22b41058a34b0a657fb60e78c4e8f3ebb
Diffstat (limited to 'pico')
-rw-r--r-- | pico/lib/picosig2.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/pico/lib/picosig2.c b/pico/lib/picosig2.c index 11a606a..b3d2c7b 100644 --- a/pico/lib/picosig2.c +++ b/pico/lib/picosig2.c @@ -81,7 +81,6 @@ pico_status_t sigAllocate(picoos_MemoryManager mm, sig_innerobj_t *sig_inObj) sig_inObj->int_vec35 = sig_inObj->int_vec36 = sig_inObj->int_vec37 = - sig_inObj->int_vec38 = sig_inObj->int_vec39 = sig_inObj->int_vec40 = NULL; |