Skip to content

Commit

Permalink
fix coverity warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sunderme committed Nov 24, 2018
1 parent 6466391 commit fff9ed3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usermacro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Macro::Macro(const QString &nname, Macro::Type ntype, const QString &ntag, const
init(nname, ntype, ntag, nabbrev, ntrigger);
}

Macro::Macro(const QStringList &fieldList): triggerLookBehind(false), document(nullptr)
Macro::Macro(const QStringList &fieldList): type(Snippet), triggerLookBehind(false), document(nullptr)
{
if (fieldList.count() >= 4) {
Macro::Type t;
Expand Down

0 comments on commit fff9ed3

Please sign in to comment.