summary refs log tree commit diff
diff options
context:
space:
mode:
authorlogin0002019-07-15 21:03:33 +1000
committerGitHub2019-07-15 21:03:33 +1000
commit84058f240af77f53c490e3deb6de931f532882ef (patch)
tree958e66eb2b61b6ff400bbd1a2697d655cba14f4d
parent6a7afee933ca2edf6a1ba213300afbb66303a57e (diff)
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.
-rw-r--r--pcoin.cpp0
1 files changed, 0 insertions, 0 deletions
diff --git a/pcoin.cpp b/pcoin.cpp
index 978b41d..1280efe 100644
--- a/pcoin.cpp
+++ b/pcoin.cpp