summaryrefslogtreecommitdiff
path: root/test/run_encoder.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-02-01 13:49:19 +0100
committerMax Kellermann <max@musicpd.org>2020-02-01 14:02:43 +0100
commit4f22f4d357c99ba4163a496882f813138db3c39b (patch)
treedd1d76658ca8466f1cbb220d49bd8e728aeb9df1 /test/run_encoder.cxx
parent4c52001a350ca573fd19f910f2f808d5f31cf95b (diff)
*: use nullptr instead of NULL
Diffstat (limited to 'test/run_encoder.cxx')
-rw-r--r--test/run_encoder.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run_encoder.cxx b/test/run_encoder.cxx
index ca7774201..ed4c7f7f3 100644
--- a/test/run_encoder.cxx
+++ b/test/run_encoder.cxx
@@ -55,7 +55,7 @@ try {
/* create the encoder */
const auto plugin = encoder_plugin_get(encoder_name);
- if (plugin == NULL) {
+ if (plugin == nullptr) {
fprintf(stderr, "No such encoder: %s\n", encoder_name);
return EXIT_FAILURE;
}