Skip to content

Commit

Permalink
manually fix some variables without init values
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
  • Loading branch information
mgallien committed Feb 21, 2023
1 parent 9390b7d commit 3e6fcb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/3rdparty/kmessagewidget/kmessagewidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class KMessageWidgetPrivate
QIcon icon;
bool ignoreShowEventDoingAnimatedShow = false;

KMessageWidget::MessageType messageType;
KMessageWidget::MessageType messageType = KMessageWidget::Positive;
bool wordWrap = false;
QList<QToolButton *> buttons;
QPixmap contentSnapShot;
Expand Down
2 changes: 1 addition & 1 deletion src/libsync/progressdispatcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ class OWNCLOUDSYNC_EXPORT ProgressInfo : public QObject
friend class ProgressInfo;
};

Status _status;
Status _status = Starting;

struct OWNCLOUDSYNC_EXPORT ProgressItem
{
Expand Down

0 comments on commit 3e6fcb6

Please sign in to comment.