summaryrefslogtreecommitdiff
path: root/glib/src/shell.ccg
diff options
context:
space:
mode:
Diffstat (limited to 'glib/src/shell.ccg')
-rw-r--r--glib/src/shell.ccg6
1 files changed, 3 insertions, 3 deletions
diff --git a/glib/src/shell.ccg b/glib/src/shell.ccg
index 4950c086..db01f78e 100644
--- a/glib/src/shell.ccg
+++ b/glib/src/shell.ccg
@@ -25,9 +25,9 @@ namespace Glib
Glib::ArrayHandle<std::string> shell_parse_argv(const std::string& command_line)
{
- char** argv = 0;
+ char** argv = nullptr;
int argc = 0;
- GError* error = 0;
+ GError* error = nullptr;
g_shell_parse_argv(command_line.c_str(), &argc, &argv, &error);
@@ -45,7 +45,7 @@ std::string shell_quote(const std::string& unquoted_string)
std::string shell_unquote(const std::string& quoted_string)
{
- GError* error = 0;
+ GError* error = nullptr;
char *const buf = g_shell_unquote(quoted_string.c_str(), &error);
if(error)