Kaydet (Commit) 1bc228f7 authored tarafından Mariusz Dykierek's avatar Mariusz Dykierek Kaydeden (comit) Caolán McNamara

Same expression on both sides of || in if condition

üst 7177eebc
...@@ -83,7 +83,7 @@ bool FileChangedChecker::hasFileChanged() ...@@ -83,7 +83,7 @@ bool FileChangedChecker::hasFileChanged()
// Check if the seconds time stamp has any difference // Check if the seconds time stamp has any difference
// If so, then our file has changed meanwhile // If so, then our file has changed meanwhile
if( newTime.Seconds != mLastModTime.Seconds || if( newTime.Seconds != mLastModTime.Seconds ||
newTime.Seconds != mLastModTime.Seconds ) newTime.Nanosec != mLastModTime.Nanosec )
{ {
// Since the file has changed, set the new status as the file status and // Since the file has changed, set the new status as the file status and
// return True // return True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment