]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-setup.c
append _unused to the expression defined using unused() macro
[notmuch] / notmuch-setup.c
index 9aaf9286e8b257bd4946c7f81804b80117d5e3ca..81419ccf3a9426b56117e1eb44efbb642600d74e 100644 (file)
@@ -13,7 +13,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see http://www.gnu.org/licenses/ .
+ * along with this program.  If not, see https://www.gnu.org/licenses/ .
  *
  * Author: Carl Worth <cworth@cworth.org>
  */
@@ -121,7 +121,7 @@ parse_tag_list (void *ctx, char *response)
 
 int
 notmuch_setup_command (notmuch_config_t *config,
-                      unused (int argc), unused (char *argv[]))
+                      int argc, char *argv[])
 {
     char *response = NULL;
     size_t response_size = 0;
@@ -187,7 +187,7 @@ notmuch_setup_command (notmuch_config_t *config,
                                             (const char **)
                                             other_emails->pdata,
                                             other_emails->len);
-    g_ptr_array_free (other_emails, TRUE);
+    g_ptr_array_free (other_emails, true);
 
     prompt ("Top-level directory of your email archive [%s]: ",
            notmuch_config_get_database_path (config));
@@ -210,7 +210,7 @@ notmuch_setup_command (notmuch_config_t *config,
        notmuch_config_set_new_tags (config, (const char **) tags->pdata,
                                     tags->len);
 
-       g_ptr_array_free (tags, TRUE);
+       g_ptr_array_free (tags, true);
     }
 
 
@@ -227,7 +227,7 @@ notmuch_setup_command (notmuch_config_t *config,
                                                (const char **) tags->pdata,
                                                tags->len);
 
-       g_ptr_array_free (tags, TRUE);
+       g_ptr_array_free (tags, true);
     }
 
     if (notmuch_config_save (config))