Removed redundant code in pcoin.cpp

pcoin.cpp had redundant code in 'int main()', where user_amount was redeclared (and thus became a local variable that shadowed the global version inside 'int main()' (!). Fixed by removing the redeclared, redundant line.
This commit is contained in:
login000 2019-07-15 21:03:33 +10:00 committed by GitHub
parent 6a7afee933
commit 84058f240a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -1607,8 +1607,6 @@ int main(int argc, char *argv[])
srand((long int)(std::time(NULL)) + strtol_fast(exec(BIN_ECHO_CMD).c_str()));
long long int user_amount = get_file_value(get_username().c_str());
long long int total_amount = base_amount + user_amount;
if(argc < 2)