]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/locale-setup.c
tree-wide: drop NULL sentinel from strjoin
[thirdparty/systemd.git] / src / core / locale-setup.c
index ccf61d29fbe4387e328b43173a5fe16f2b043ade..fdd847ee8ba056f7ce3909deec04c06e1e0c2fbf 100644 (file)
@@ -87,7 +87,7 @@ int locale_setup(char ***environment) {
                 if (!variables[i])
                         continue;
 
-                s = strjoin(locale_variable_to_string(i), "=", variables[i], NULL);
+                s = strjoin(locale_variable_to_string(i), "=", variables[i]);
                 if (!s) {
                         r = -ENOMEM;
                         goto finish;