Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions commandLine/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ enum pgMode {
};


float startTime;
int nProjectsUpdated;
int nProjectsCreated;

Expand Down Expand Up @@ -352,7 +351,6 @@ int main(int argc, char* argv[]){
bHelpRequested = false;
bListTemplates = false;
targets.push_back(ofGetTargetPlatform());
startTime = 0;
nProjectsUpdated = 0;
nProjectsCreated = 0;
string projectName = "";
Expand Down Expand Up @@ -433,7 +431,6 @@ int main(int argc, char* argv[]){

// ------------------------------------------------------ post parse

startTime = ofGetElapsedTimef();
nProjectsUpdated = 0;
nProjectsCreated = 0;
of::priv::initutils();
Expand Down Expand Up @@ -627,11 +624,10 @@ int main(int argc, char* argv[]){
}

consoleSpace();
float elapsedTime = ofGetElapsedTimef() - startTime;
if (nProjectsCreated > 0) cout << nProjectsCreated << " project created ";
if (nProjectsUpdated == 1)cout << nProjectsUpdated << " project updated ";
if (nProjectsUpdated > 1) cout << nProjectsUpdated << " projects updated ";
ofLogNotice() << "in " << elapsedTime << " seconds" << endl;
ofLogNotice() << "in " << ofGetElapsedTimef() << " seconds" << endl;
consoleSpace();


Expand Down