From 0a82522015eff37496deab9f85e4f4faef651363 Mon Sep 17 00:00:00 2001 From: andy5995 Date: Fri, 15 Nov 2024 14:02:48 -0600 Subject: [PATCH] maint: Don't set errno after bindtextdomain() --- src/main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main.c b/src/main.c index 2c055936..bcb0a8b1 100644 --- a/src/main.c +++ b/src/main.c @@ -673,9 +673,6 @@ main(const int argc, char *const argv[]) setlocale(LC_ALL, ""); bindtextdomain(PACKAGE_STRING, locale_dir); textdomain(PACKAGE_STRING); - // If the locale directory isn't found, errno is set - // to 2. - errno = 0; #endif rmw_options cli_user_options;