From f3d16a3534b8265035b5c1ebcb81f69bd4574026 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com> Date: Fri, 2 Jun 2023 08:35:58 -0400 Subject: [PATCH] fileutils: comment out logs Change-Id: Ia5e9a88c18f8cec577a58bbdd96a948031716bad --- src/fileutils.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/fileutils.cpp b/src/fileutils.cpp index be911a6..5bd3ffe 100644 --- a/src/fileutils.cpp +++ b/src/fileutils.cpp @@ -131,20 +131,20 @@ expand_path(const std::string& path) switch (ret) { case WRDE_BADCHAR: - JAMI_ERR("Illegal occurrence of newline or one of |, &, ;, <, >, " - "(, ), {, }."); + /*JAMI_ERR("Illegal occurrence of newline or one of |, &, ;, <, >, " + "(, ), {, }.");*/ return result; case WRDE_BADVAL: - JAMI_ERR("An undefined shell variable was referenced"); + //JAMI_ERR("An undefined shell variable was referenced"); return result; case WRDE_CMDSUB: - JAMI_ERR("Command substitution occurred"); + //JAMI_ERR("Command substitution occurred"); return result; case WRDE_SYNTAX: - JAMI_ERR("Shell syntax error"); + //JAMI_ERR("Shell syntax error"); return result; case WRDE_NOSPACE: - JAMI_ERR("Out of memory."); + //JAMI_ERR("Out of memory."); // This is the only error where we must call wordfree break; default: -- GitLab