diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2020-02-15 17:15:57 +0100 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2020-02-18 20:20:49 +0100 |
commit | 400be27f82395ca314ec3731c1a4e86843e4f53f (patch) | |
tree | 5d9fa7dbcc8f1679da700290d93a03fc47da7eae /tests/test-qga.c | |
parent | 380e6d811952d39ec51adda9756a07528eac96bb (diff) |
hw/block/pflash_cfi02: Remove unneeded variable assignment
Fix warning reported by Clang static code analyzer:
CC hw/block/pflash_cfi02.o
hw/block/pflash_cfi02.c:311:5: warning: Value stored to 'ret' is never read
ret = -1;
^ ~~
Reported-by: Clang Static Analyzer
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200215161557.4077-4-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'tests/test-qga.c')
0 files changed, 0 insertions, 0 deletions