Opened 10 years ago

Closed 10 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:
Platform: All

Description

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 10 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 by mt, 10 years ago

patch: 01

comment:2 by waddlesplash, 10 years ago

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

comment:3 by waddlesplash, 10 years ago

Resolution: fixed
Status: in-progressclosed

Applied in hrev49221. Thanks!

Note: See TracTickets for help on using tickets.