Skip to content

Commit

Permalink
NWN: Initialize _itemNumber
Browse files Browse the repository at this point in the history
Coverity issue 1038217.
  • Loading branch information
DrMcCoy committed Jun 25, 2013
1 parent b62c38a commit fc8e4a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engines/nwn/gui/widgets/listbox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ namespace Engines {

namespace NWN {

WidgetListItem::WidgetListItem(::Engines::GUI &gui) : NWNWidget(gui, ""), _state(false) {
WidgetListItem::WidgetListItem(::Engines::GUI &gui) : NWNWidget(gui, ""), _itemNumber(0xFFFFFFFF), _state(false) {
}

WidgetListItem::~WidgetListItem() {
Expand Down

0 comments on commit fc8e4a8

Please sign in to comment.