Changeset 0f10c1a


Ignore:
Timestamp:
01/22/17 19:49:39 (5 years ago)
Author:
gregor herrmann <gregoa@…>
Branches:
master, qt5
Children:
056bee2
Parents:
e5dfc61
Message:

Initialize conflictSeverity variable.

Compiler warning with -Wmaybe-uninitialized.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mvc/delegate.cpp

    re5dfc61 r0f10c1a  
    6666        Favourite eventTimeConflict = event->timeConflict(); // cache value as event->timeConflict is expensive
    6767        enum ConflictSeverity {csNone, csWeak, csStrong} conflictSeverity;
     68        conflictSeverity = csNone;
    6869        switch (event->favourite()) {
    6970            case Favourite_strong:
Note: See TracChangeset for help on using the changeset viewer.