]> Git Repo - qemu.git/commit
hw/block/pflash_cfi02: Remove unneeded variable assignment
authorPhilippe Mathieu-Daudé <[email protected]>
Sat, 15 Feb 2020 16:15:57 +0000 (17:15 +0100)
committerLaurent Vivier <[email protected]>
Tue, 18 Feb 2020 19:20:49 +0000 (20:20 +0100)
commit400be27f82395ca314ec3731c1a4e86843e4f53f
tree5d9fa7dbcc8f1679da700290d93a03fc47da7eae
parent380e6d811952d39ec51adda9756a07528eac96bb
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é <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <20200215161557[email protected]>
Signed-off-by: Laurent Vivier <[email protected]>
hw/block/pflash_cfi02.c
This page took 0.024345 seconds and 4 git commands to generate.