summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorMiguel Ojeda <miguel.ojeda.sandonis@gmail.com>2018-02-19 18:47:52 +0300
committerMiguel Ojeda <miguel.ojeda.sandonis@gmail.com>2018-03-13 20:16:38 +0300
commit26a2c54d03bd514fb3d3520706f911b3ca56b011 (patch)
tree8211aa3c62a6bf9d6f9f85626607d2c7978cd563 /net/unix/af_unix.c
parent6a78b4dde1057f89a1e25ec81ed646c4f8077311 (diff)
downloadlinux-26a2c54d03bd514fb3d3520706f911b3ca56b011.tar.xz
auxdisplay: img-ascii-lcd: Silence 2 uninitialized warnings
The warnings are: drivers/auxdisplay/img-ascii-lcd.c: warning: 'err' may be used uninitialized in this function [-Wuninitialized] At lines 109 and 207. Reported by Geert using the build service several times, e.g.: https://lkml.org/lkml/2018/2/19/303 They are two false positives, since num_chars > 0 in the three present configurations (boston, malta, sead3). Initialize to 0 in order to silence the warning. Cc: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Paul Burton <paul.burton@mips.com> Signed-off-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions