Skip to content

Commit

Permalink
Add defaults to autorevision.cpp for when not in a git repository.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyp committed Nov 1, 2010
1 parent 3f5176b commit 4c28815
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build_tools/autorevision/autorevision.cpp
Expand Up @@ -93,6 +93,10 @@ class assign_once : public T
struct RevisionInformation
{
RevisionInformation() :
low_revision("unknown"),
revision("unknown"),
low_revisionCount("-1"),
revisionCount("-1"),
wc_modified(false),
wc_switched(false)
{}
Expand Down

0 comments on commit 4c28815

Please sign in to comment.