Skip to content

Commit

Permalink
Removed check for ulong < 0
Browse files Browse the repository at this point in the history
This is impossible by definition
  • Loading branch information
herwinw committed Jul 19, 2013
1 parent bf831c8 commit c628f8f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/garminFilebasedDevice.cpp
Expand Up @@ -1581,8 +1581,6 @@ int GarminFilebasedDevice::bytesAvailable(string path) {
}
if (freeBytes > INT_MAX) {
return INT_MAX;
} else if (freeBytes < 0) {
return 0;
} else {
return (int)freeBytes;
}
Expand Down

0 comments on commit c628f8f

Please sign in to comment.