Opened 4 years ago

Closed 4 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

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

Download all attachments as: .zip

Change History (4)

comment:1 Changed 4 years ago by mt

Has a Patch: set

comment:2 Changed 4 years ago by waddlesplash

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

comment:3 Changed 4 years ago by waddlesplash

Resolution: fixed
Status: in-progressclosed

Applied in hrev49221. Thanks!

Note: See TracTickets for help on using tickets.