diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-01-28 11:50:50 -0600 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-01-28 11:50:50 -0600 |
commit | e57a2e9b860db9776d94356a6fc38e193c801f65 (patch) | |
tree | ef8d1cf5a1e0daf940fcb786a9f52b8bcd7750c9 /src/menu.cpp | |
parent | 1e90a7ec0e834dc28434f4db7b4339c8492c602b (diff) | |
download | ayatana-indicator-datetime-e57a2e9b860db9776d94356a6fc38e193c801f65.tar.gz ayatana-indicator-datetime-e57a2e9b860db9776d94356a6fc38e193c801f65.tar.bz2 ayatana-indicator-datetime-e57a2e9b860db9776d94356a6fc38e193c801f65.zip |
silence compiler warning
Diffstat (limited to 'src/menu.cpp')
-rw-r--r-- | src/menu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/menu.cpp b/src/menu.cpp index 9e76d4b..390a06f 100644 --- a/src/menu.cpp +++ b/src/menu.cpp @@ -381,7 +381,7 @@ private: case Appointments: model = create_appointments_section(p); break; case Locations: model = create_locations_section(p); break; case Settings: model = create_settings_section(p); break; - default: g_warn_if_reached(); + default: model = nullptr; g_warn_if_reached(); } if (model) |