hw/isa/i82378: Remove dead assignment
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Wed, 22 Apr 2020 13:31:49 +0000 (15:31 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Mon, 4 May 2020 12:43:24 +0000 (14:43 +0200)
commit2c8ed55f0f615ea825cb30e80e74a07d6945bcf9
treec27a477a118a94c489d2b10c698a4e02aca24dcf
parent22c9336d3a82d1469796b7421cb5bd5f9bfd9748
hw/isa/i82378: Remove dead assignment

Rename the unique variable assigned as 'pit' which better
represents what it holds, to fix a warning reported by the
Clang static code analyzer:

    CC      hw/isa/i82378.o
  hw/isa/i82378.c:108:5: warning: Value stored to 'isa' is never read
      isa = isa_create_simple(isabus, "i82374");
      ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reported-by: Clang Static Analyzer
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200422133152.16770-7-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/isa/i82378.c