Skip to content

Commit

Permalink
Merge pull request #725 from jdpurcell/pr-error_uninit
Browse files Browse the repository at this point in the history
Fix "Error occurred opening" due to uninitialized variables
  • Loading branch information
jurplel authored Oct 19, 2024
2 parents 0114aa0 + 671483f commit e083114
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qvimagecore.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ class QVImageCore : public QObject

struct ErrorData
{
bool hasError;
int errorNum;
bool hasError = false;
int errorNum = 0;
QString errorString;
};

Expand Down

0 comments on commit e083114

Please sign in to comment.