Actions
Bug #12368
closedasy: variable may be used uninitialized
Start date:
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
Build error with gcc 9:
../../common/io/asy.c: In function 'asy_reset_fifo': ../../common/io/asy.c:2009:3: error: 'lcr' may be used uninitialized in this function [-Werror=maybe-uninitialized] 2009 | ddi_put8(asy->asy_iohandle, asy->asy_ioaddr + LCR, lcr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors
Testing done: build/install/boot
Updated by Electric Monk about 2 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit 278de290aa274ca244c25d81b2940211c15ab7e5
commit 278de290aa274ca244c25d81b2940211c15ab7e5 Author: Toomas Soome <tsoome@me.com> Date: 2020-03-20T07:15:25.000Z 12368 asy: variable may be used uninitialized Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Alexander Pyhalov <alp@rsu.ru> Approved by: Dan McDonald <danmcd@joyent.com>
Actions