Skip to content

Commit

Permalink
silence warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jhanssen committed Dec 19, 2016
1 parent 1c261a4 commit 09a059e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1767,7 +1767,7 @@ void Server::suspend(const std::shared_ptr<QueryMessage> &query, const std::shar
} else {
const uint32_t fileId = Location::fileId(p);
if (fileId) {
bool suspended;
bool suspended = false;
switch (mode) {
case FileToggle: suspended = project->toggleSuspendFile(fileId); break;
case FileOff: suspended = false; project->setSuspended(fileId, false); break;
Expand Down

0 comments on commit 09a059e

Please sign in to comment.