summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNelson Marques <[email protected]>2012-10-10 16:32:55 +0200
committerNelson Marques <[email protected]>2012-10-10 16:32:55 +0200
commit30fe55545b4fe19a7f4bd04cd25ebf46ef35b570 (patch)
treec09472e49b8b8783a37980afef6a56a9c89e093f
parent6fc7fa8f772083bda5cb4b4956150db5d155e060 (diff)
downloadlibmateweather-30fe55545b4fe19a7f4bd04cd25ebf46ef35b570.tar.bz2
libmateweather-30fe55545b4fe19a7f4bd04cd25ebf46ef35b570.tar.xz
fix no return in nonvoid function
-rw-r--r--libmateweather/mateweather-prefs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmateweather/mateweather-prefs.c b/libmateweather/mateweather-prefs.c
index edbcfaa..3795d7a 100644
--- a/libmateweather/mateweather-prefs.c
+++ b/libmateweather/mateweather-prefs.c
@@ -94,6 +94,7 @@ mateweather_prefs_get_temp_display_name (TempUnit temp)
/* translators: Fahrenheit */
return N_("F");
}
+ return N_("Invalid");
}
const char *
@@ -118,6 +119,7 @@ mateweather_prefs_get_speed_display_name (SpeedUnit speed)
/* translators: wind speed */
return N_("Beaufort scale");
}
+ return N_("Invalid");
}
const char *
@@ -145,6 +147,7 @@ mateweather_prefs_get_pressure_display_name (PressureUnit pressure)
/* translators: atmosphere */
return N_("atm");
}
+ return N_("Invalid");
}
const char *
@@ -163,4 +166,5 @@ mateweather_prefs_get_distance_display_name (DistanceUnit distance)
/* translators: miles */
return N_("mi");
}
+ return N_("Invalid");
}