configure: re-enable '-Wunused-parameter'
[babeltrace.git] / src / common / common.c
index 0cdc17393caf9701a09eead68428a331cc93d27f..b0d048772ef5ad8c56e471a91c3c5f8e22f6e2d0 100644 (file)
@@ -240,7 +240,7 @@ bool bt_common_is_setuid_setgid(void)
 
 #ifdef __MINGW32__
 static
-const char *bt_get_home_dir(int log_level)
+const char *bt_get_home_dir(int log_level __attribute__((unused)))
 {
        return g_get_home_dir();
 }
@@ -1246,7 +1246,8 @@ end_of_pattern:
 }
 
 #ifdef __MINGW32__
-GString *bt_common_normalize_path(const char *path, const char *wd)
+GString *bt_common_normalize_path(const char *path,
+               const char *wd __attribute__((unused)))
 {
        char *tmp;
        GString *norm_path = NULL;
@@ -1940,7 +1941,8 @@ end:
 }
 
 #ifdef __MINGW32__
-int bt_common_get_term_size(unsigned int *width, unsigned int *height)
+int bt_common_get_term_size(unsigned int *width __attribute__((unused)),
+               unsigned int *height __attribute__((unused)))
 {
        /* Not supported on Windows yet */
        return -1;
This page took 0.022916 seconds and 4 git commands to generate.