From 62d01fc8749606d8fc4614d897044462a6d703fc Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Fri, 18 Oct 2013 14:22:54 -0500 Subject: replace autotools with cmake --- src/utils.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/utils.c') diff --git a/src/utils.c b/src/utils.c index 60fd393..00209c8 100644 --- a/src/utils.c +++ b/src/utils.c @@ -20,10 +20,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include #include #include -- cgit v1.2.3 From 1e0cfb884a92540d8fbcac662c75633ff6eb1e2a Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Fri, 18 Oct 2013 14:47:31 -0500 Subject: fix a trio of pedantic gcc warnings --- src/utils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/utils.c') diff --git a/src/utils.c b/src/utils.c index 00209c8..d1e1fbf 100644 --- a/src/utils.c +++ b/src/utils.c @@ -100,9 +100,9 @@ get_current_zone_name (const gchar * location, GSettings * settings) split_settings_location (tz_name, &old_zone, &old_name); g_free (tz_name); - // new_name is always just a sanitized version of a timezone. - // old_name is potentially a saved "pretty" version of a timezone name from - // geonames. So we prefer to use it if available and the zones match. + /* new_name is always just a sanitized version of a timezone. + old_name is potentially a saved "pretty" version of a timezone name from + geonames. So we prefer to use it if available and the zones match. */ if (g_strcmp0 (old_zone, new_zone) == 0) { rv = old_name; -- cgit v1.2.3