[easytag] Remove a redundant comparison
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag] Remove a redundant comparison
- Date: Thu, 14 Jan 2016 16:19:15 +0000 (UTC)
commit 345f9d93d7ff33f6750ba2f2a0d7e688f96b96fb
Author: David King <amigadave amigadave com>
Date: Thu Jan 14 16:13:09 2016 +0000
Remove a redundant comparison
src/charset.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/charset.c b/src/charset.c
index 9021790..7298806 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -272,7 +272,7 @@ get_encoding_from_locale (const char *locale)
{
const gchar *modifier;
- modifier = strchr (encoding ? encoding : locale, '@');
+ modifier = strchr (encoding, '@');
if (modifier != NULL)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]