From 0eecb6070a6c1bb6d408d941cc81e2dd86893a37 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Thu, 5 Nov 2020 22:45:00 -0600 Subject: [PATCH] Cleanup: remove extra parameter in printf(). There is only a single '%c' so the second parameter is ignored. --- level_3/fss_basic_list_read/c/fss_basic_list_read.c | 2 +- level_3/fss_basic_read/c/fss_basic_read.c | 2 +- level_3/fss_extended_list_read/c/fss_extended_list_read.c | 2 +- level_3/fss_extended_read/c/fss_extended_read.c | 2 +- level_3/iki_read/c/iki_read.c | 2 +- level_3/iki_write/c/iki_write.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/level_3/fss_basic_list_read/c/fss_basic_list_read.c b/level_3/fss_basic_list_read/c/fss_basic_list_read.c index ec3a238..4863540 100644 --- a/level_3/fss_basic_list_read/c/fss_basic_list_read.c +++ b/level_3/fss_basic_list_read/c/fss_basic_list_read.c @@ -39,7 +39,7 @@ extern "C" { fl_color_print(output.stream, context.set.important, " Notes:"); - fprintf(output.stream, "%c", f_string_eol[0], f_string_eol[0]); + fprintf(output.stream, "%c", f_string_eol[0]); fprintf(output.stream, " This program will print the content associated with the given object and content data based on the FSS-0002 Basic List standard.%c", f_string_eol[0]); diff --git a/level_3/fss_basic_read/c/fss_basic_read.c b/level_3/fss_basic_read/c/fss_basic_read.c index cbdd6d1..0d11558 100644 --- a/level_3/fss_basic_read/c/fss_basic_read.c +++ b/level_3/fss_basic_read/c/fss_basic_read.c @@ -39,7 +39,7 @@ extern "C" { fl_color_print(output.stream, context.set.important, " Notes:"); - fprintf(output.stream, "%c", f_string_eol[0], f_string_eol[0]); + fprintf(output.stream, "%c", f_string_eol[0]); fprintf(output.stream, " This program will print the content associated with the given object and content data based on the FSS-0000 Basic standard.%c", f_string_eol[0]); diff --git a/level_3/fss_extended_list_read/c/fss_extended_list_read.c b/level_3/fss_extended_list_read/c/fss_extended_list_read.c index f87c779..24c1758 100644 --- a/level_3/fss_extended_list_read/c/fss_extended_list_read.c +++ b/level_3/fss_extended_list_read/c/fss_extended_list_read.c @@ -39,7 +39,7 @@ extern "C" { fl_color_print(output.stream, context.set.important, " Notes:"); - fprintf(output.stream, "%c", f_string_eol[0], f_string_eol[0]); + fprintf(output.stream, "%c", f_string_eol[0]); fprintf(output.stream, " This program will print the content associated with the given object and content data based on the FSS-0002 Basic List standard.%c", f_string_eol[0]); diff --git a/level_3/fss_extended_read/c/fss_extended_read.c b/level_3/fss_extended_read/c/fss_extended_read.c index 0df4157..bf05f21 100644 --- a/level_3/fss_extended_read/c/fss_extended_read.c +++ b/level_3/fss_extended_read/c/fss_extended_read.c @@ -39,7 +39,7 @@ extern "C" { fl_color_print(output.stream, context.set.important, " Notes:"); - fprintf(output.stream, "%c", f_string_eol[0], f_string_eol[0]); + fprintf(output.stream, "%c", f_string_eol[0]); fprintf(output.stream, " This program will print the content associated with the given object and content data based on the FSS-0001 Extended standard.%c", f_string_eol[0]); diff --git a/level_3/iki_read/c/iki_read.c b/level_3/iki_read/c/iki_read.c index 4e39189..ac7906d 100644 --- a/level_3/iki_read/c/iki_read.c +++ b/level_3/iki_read/c/iki_read.c @@ -42,7 +42,7 @@ extern "C" { fl_color_print(output.stream, context.set.important, " Notes:"); - fprintf(output.stream, "%c", f_string_eol[0], f_string_eol[0]); + fprintf(output.stream, "%c", f_string_eol[0]); fprintf(output.stream, " This program will find and print variables, vocabularies, or content following the IKI standard, without focusing on any particular vocabulary specification.%c", f_string_eol[0]); diff --git a/level_3/iki_write/c/iki_write.c b/level_3/iki_write/c/iki_write.c index 18a5bb0..1fd329f 100644 --- a/level_3/iki_write/c/iki_write.c +++ b/level_3/iki_write/c/iki_write.c @@ -32,7 +32,7 @@ extern "C" { fl_color_print(output.stream, context.set.important, " Notes:"); - fprintf(output.stream, "%c", f_string_eol[0], f_string_eol[0]); + fprintf(output.stream, "%c", f_string_eol[0]); fprintf(output.stream, " This program will accept object and content strings to generate an IKI string, such as: "); fl_color_print(output.stream, context.set.notable, "object:\"content\""); -- 1.8.3.1