projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
style: eliminate equality tests with true and false
[gem5.git]
/
src
/
base
/
loader
/
hex_file.cc
diff --git
a/src/base/loader/hex_file.cc
b/src/base/loader/hex_file.cc
index e26ac31e6ed1ba417f182252cf0e4ee7af1ee727..dac013d40deacc3bdfc6f45b0be58f6872dc636e 100755
(executable)
--- a/
src/base/loader/hex_file.cc
+++ b/
src/base/loader/hex_file.cc
@@
-104,7
+104,7
@@
HexFile::parseLine(char *Str, Addr *A, uint32_t *D)
} else if (Str[i] == ' ' || Str[i] == '\n') {
if (Number == 0)
return;
- if (
Flag == false
) {
+ if (
!Flag
) {
*A = Number;
Number = 0;
Flag = true;
@@
-125,7
+125,7
@@
HexFile::parseLine(char *Str, Addr *A, uint32_t *D)
i++;
}
- if (
Flag != true
) {
+ if (
!Flag
) {
*A = 0;
*D = 0;
} else {