]> Kevux Git Server - fll/commitdiff
Cleanup: remove extra parameter in printf().
authorKevin Day <thekevinday@gmail.com>
Fri, 6 Nov 2020 04:45:00 +0000 (22:45 -0600)
committerKevin Day <thekevinday@gmail.com>
Fri, 6 Nov 2020 04:45:00 +0000 (22:45 -0600)
There is only a single '%c' so the second parameter is ignored.

level_3/fss_basic_list_read/c/fss_basic_list_read.c
level_3/fss_basic_read/c/fss_basic_read.c
level_3/fss_extended_list_read/c/fss_extended_list_read.c
level_3/fss_extended_read/c/fss_extended_read.c
level_3/iki_read/c/iki_read.c
level_3/iki_write/c/iki_write.c

index ec3a238..4863540 100644 (file)
@@ -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]);
 
index cbdd6d1..0d11558 100644 (file)
@@ -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]);
 
index f87c779..24c1758 100644 (file)
@@ -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]);
 
index 0df4157..bf05f21 100644 (file)
@@ -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]);
 
index 4e39189..ac7906d 100644 (file)
@@ -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]);
 
index 18a5bb0..1fd329f 100644 (file)
@@ -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\"");