aboutsummaryrefslogtreecommitdiffstats
path: root/src/UpdateDatabase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/UpdateDatabase.cxx')
-rw-r--r--src/UpdateDatabase.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/UpdateDatabase.cxx b/src/UpdateDatabase.cxx
index 83bc66876..684976d68 100644
--- a/src/UpdateDatabase.cxx
+++ b/src/UpdateDatabase.cxx
@@ -70,7 +70,7 @@ clear_directory(Directory *directory)
void
delete_directory(Directory *directory)
{
- assert(directory->parent != NULL);
+ assert(directory->parent != nullptr);
clear_directory(directory);
@@ -85,13 +85,13 @@ delete_name_in(Directory *parent, const char *name)
db_lock();
Directory *directory = parent->FindChild(name);
- if (directory != NULL) {
+ if (directory != nullptr) {
delete_directory(directory);
modified = true;
}
Song *song = parent->FindSong(name);
- if (song != NULL) {
+ if (song != nullptr) {
delete_song(parent, song);
modified = true;
}