about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorlogin000 <34250284+login000@users.noreply.github.com>2020-10-04 19:30:35 +1100
committerGitHub <noreply@github.com>2020-10-04 19:30:35 +1100
commite3cd47a6c7ba8543fa75c39f7127158bdb2a0761 (patch)
treef3346459d24ec6a19ad084959ad04ed16d45b5d5
parent3886f9e4f04b24f7d32c6dfb48d91793ffdf6dfd (diff)
parent8c098d8abf29b6bdce455bf1294b24f16254da32 (diff)
downloadtcoin-e3cd47a6c7ba8543fa75c39f7127158bdb2a0761.tar.gz
Merge pull request #3 from MineRobber9000/master
Remove outdated comment
-rw-r--r--tcoin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcoin.cpp b/tcoin.cpp
index 9370bd0..5748bdd 100644
--- a/tcoin.cpp
+++ b/tcoin.cpp
@@ -447,7 +447,7 @@ bool files_are_same(const char* file_path1, const char* file_path2)
 
   char c1;
   char c2;
-  while(fin1.get(c1) && fin2.get(c2)) //we need to go inside the loop body even if one of the reads fails, so we use || instead of &&
+  while(fin1.get(c1) && fin2.get(c2))
   {
     if(c2 != c1)
       return false;