summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/chd.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-04-24 12:57:58 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-04-24 12:58:31 +0200
commit89c5e1f681107b6d9f8ba7f761c388d1e2052fe4 (patch)
treec5ce4530d0c03fa1c04021844272b82b7b7ebcbc /src/lib/util/chd.cpp
parentef0968b87042040e1f0e18c84ce804f744f8e23e (diff)
Various cleanups suggested by static analyzer (nw)
Diffstat (limited to 'src/lib/util/chd.cpp')
-rw-r--r--src/lib/util/chd.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/util/chd.cpp b/src/lib/util/chd.cpp
index 3a97c6ce0fe..ce4396eac29 100644
--- a/src/lib/util/chd.cpp
+++ b/src/lib/util/chd.cpp
@@ -331,7 +331,7 @@ sha1_t chd_file::sha1()
}
catch (chd_error &)
{
- // on failure, return NULL
+ // on failure, return nullptr
return sha1_t::null;
}
}
@@ -364,7 +364,7 @@ sha1_t chd_file::raw_sha1()
}
catch (chd_error &)
{
- // on failure, return NULL
+ // on failure, return nullptr
return sha1_t::null;
}
}
@@ -397,7 +397,7 @@ sha1_t chd_file::parent_sha1()
}
catch (chd_error &)
{
- // on failure, return NULL
+ // on failure, return nullptr
return sha1_t::null;
}
}