mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
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.
This commit is contained in:
parent
7b652117d6
commit
95e7abadc0
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user