[prev in list] [next in list] [prev in thread] [next in thread]
List: lyx-cvs
Subject: [LyX/master] Add missing 'break' for four default cases in VCBackend.cpp
From: Christian Ridderström <chr () lyx ! org>
Date: 2017-07-30 12:31:19
Message-ID: 20170730123119.8890B2807AC () lyx ! lyx ! org
[Download RAW message or body]
commit 95e7abadc0e3c8c250c25b0c5f27575644b94ca7
Author: Christian Ridderström <chr@lyx.org>
Date: Sun Jul 30 14:23:38 2017 +0200
Add missing 'break' for four default cases in VCBackend.cpp
Replace four cases of 'default: ;' in VCBackend.cpp with
default:
break;
Justification: Make consistent with the rest of the LyX source code.
I found no other occurences of 'default: ;' in the source.
---
src/VCBackend.cpp | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/src/VCBackend.cpp b/src/VCBackend.cpp
index a152a28..edbf096 100644
--- a/src/VCBackend.cpp
+++ b/src/VCBackend.cpp
@@ -430,7 +430,8 @@ string RCS::revisionInfo(LyXVC::RevisionInfo const info)
return rev_date_cache_;
case LyXVC::Time:
return rev_time_cache_;
- default: ;
+ default:
+ break;
}
return string();
@@ -1102,7 +1103,8 @@ string CVS::revisionInfo(LyXVC::RevisionInfo const info)
return rev_date_cache_;
case LyXVC::Time:
return rev_time_cache_;
- default: ;
+ default:
+ break;
}
}
return string();
@@ -1666,8 +1668,8 @@ string SVN::revisionInfo(LyXVC::RevisionInfo const info)
return rev_date_cache_;
case LyXVC::Time:
return rev_time_cache_;
- default: ;
-
+ default:
+ break;
}
return string();
@@ -2135,8 +2137,8 @@ string GIT::revisionInfo(LyXVC::RevisionInfo const info)
return rev_date_cache_;
case LyXVC::Time:
return rev_time_cache_;
- default: ;
-
+ default:
+ break;
}
return string();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic