Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/bugfix/9944_coverity_mantidqt'
Browse files Browse the repository at this point in the history
  • Loading branch information
NickDraper committed Aug 8, 2014
2 parents e5c8a5e + 11c2de1 commit 3aaee1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/MantidQt/SliceViewer/src/QScienceSpinBox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ bool isIntermediateValueHelper(qint64 num, qint64 min, qint64 max, qint64 *match
qint64 tmp = num;

int numDigits = 0;
int digits[10];
int digits[] = {0,0,0,0,0,0,0,0,0,0};
if (tmp == 0) {
numDigits = 1;
digits[0] = 0;
Expand Down

0 comments on commit 3aaee1e

Please sign in to comment.