X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Ftab.c;fp=src%2Foutput%2Ftab.c;h=df0a052234be98b1c89daf2167426c37557a5f5d;hb=b754fbf65fcd1b4fb466bbba6af71e6717df01e3;hp=19f7072dd0f23e49ef7d00b1c1e7b7a0a1b4ca66;hpb=94864f7df42dc6495de1f785ec4ba45f33b63515;p=pspp diff --git a/src/output/tab.c b/src/output/tab.c index 19f7072dd0..df0a052234 100644 --- a/src/output/tab.c +++ b/src/output/tab.c @@ -440,11 +440,9 @@ tab_cell_is_empty (const struct tab_table *table, int c, int r) This function is obsolete. Please do not add new uses of it. Instead, use a text_item (see output/text-item.h). */ void -tab_output_text (int options, const char *string) +tab_output_text (int options UNUSED, const char *string) { - enum text_item_type type = (options & TAB_FIX ? TEXT_ITEM_LOG - : TEXT_ITEM_PARAGRAPH); - text_item_submit (text_item_create (type, string)); + text_item_submit (text_item_create (TEXT_ITEM_LOG, string)); } /* Same as tab_output_text(), but FORMAT is passed through printf-like