Opened 5 years ago

Closed 5 years ago

#11989 closed enhancement (fixed)

[Patch] Fix GCC 4.9 warning.

Reported by: mt Owned by: waddlesplash
Priority: normal Milestone: Unscheduled
Component: File Systems/NetFS Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: yes Platform: All


GCC 4.9.2 reports:

/home/haiku/haiku/haiku/src/add-ons/kernel/file_systems/netfs/server/ClientConnection.cpp: In member function 'void ClientConnection::CloseNodeMonitoringEventQueue()':
/home/haiku/haiku/haiku/src/add-ons/kernel/file_systems/netfs/server/ClientConnection.cpp:2509:23: error: 'requests' may be used uninitialized in this function [-Werror=maybe-uninitialized]
  const RequestVector* requests;

Attachments (1)

0002-Fix-GCC-4.9-maybe-uninitialized-warning.patch (1.0 KB ) - added by mt 5 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 by mt, 5 years ago

Has a Patch: set

comment:2 by waddlesplash, 5 years ago

Owner: changed from bonefish to waddlesplash
Status: newin-progress

comment:3 by waddlesplash, 5 years ago

Resolution: fixed
Status: in-progressclosed

Applied in hrev49221. Thanks!

Note: See TracTickets for help on using tickets.