]> Kevux Git Server - fll/commitdiff
Cleanup: Remove unused and commented out callback in fss_read.
authorKevin Day <Kevin@kevux.org>
Tue, 6 Aug 2024 02:59:22 +0000 (21:59 -0500)
committerKevin Day <Kevin@kevux.org>
Tue, 6 Aug 2024 02:59:22 +0000 (21:59 -0500)
level_3/fss_read/c/basic/main.c
level_3/fss_read/c/basic_list/main.c
level_3/fss_read/c/embedded_list/main.c
level_3/fss_read/c/extended/main.c
level_3/fss_read/c/extended_list/main.c
level_3/fss_read/c/main/common/type.h
level_3/fss_read/c/main/main.c
level_3/fss_read/c/payload/main.c

index 31802f385f57aaf153e4f6ad6b1cfcddad5120ef..3ffefea26ffb018f168a3eea6f436cddd90af1ea 100644 (file)
@@ -36,7 +36,6 @@ int main(const int argc, const f_string_t *argv, const f_string_t *envp) {
 
   data.callback.print_at = &fss_read_print_at;
   data.callback.print_content = &fss_read_print_content;
-  //data.callback.print_content_empty = 0;
   data.callback.print_content_empty_set = &fss_read_print_content_empty_set_end;
   data.callback.print_content_ignore = 0;
   data.callback.print_content_next = 0;
index f30ce678effe42774cec31ed6223865744dee033..7141d9349d5cabeb68e20c846afa3de8a3a5abf1 100644 (file)
@@ -35,7 +35,6 @@ int main(const int argc, const f_string_t *argv, const f_string_t *envp) {
 
   data.callback.print_at = &fss_read_print_at;
   data.callback.print_content = &fss_read_print_content;
-  //data.callback.print_content_empty = 0;
   data.callback.print_content_empty_set = 0;
   data.callback.print_content_ignore = &fss_read_print_content_ignore;
   data.callback.print_content_next = 0;
index f806c90e71e13c1c55f828de3967a1dbb5922bd5..488bad7e3d581fa158c2241f93b4ec3dae9b94e8 100644 (file)
@@ -36,7 +36,6 @@ int main(const int argc, const f_string_t *argv, const f_string_t *envp) {
 
   data.callback.print_at = &fss_read_print_at;
   data.callback.print_content = &fss_read_print_content;
-  //data.callback.print_content_empty = 0;
   data.callback.print_content_empty_set = 0;
   data.callback.print_content_ignore = &fss_read_print_content_ignore;
   data.callback.print_content_next = 0;
index b68e61d0ac27cd1f5de0c51a0f21af96a7345e64..bdfb48c471644aeaf9db1ee75d533555d0e132d0 100644 (file)
@@ -36,7 +36,6 @@ int main(const int argc, const f_string_t *argv, const f_string_t *envp) {
 
   data.callback.print_at = &fss_read_print_at;
   data.callback.print_content = &fss_read_print_content;
-  //data.callback.print_content_empty = 0;
   data.callback.print_content_empty_set = &fss_read_print_content_empty_set_end;
   data.callback.print_content_ignore = &fss_read_print_content_ignore;
   data.callback.print_content_next = &fss_read_extended_print_data_content_next;
index e2e44877db4355e559e59e3b92842b9d218e55bc..a60f176c2e7f731725f8b7cfe1a9e3b25e23ac28 100644 (file)
@@ -35,7 +35,6 @@ int main(const int argc, const f_string_t *argv, const f_string_t *envp) {
 
   data.callback.print_at = &fss_read_print_at;
   data.callback.print_content = &fss_read_print_content;
-  //data.callback.print_content_empty = 0;
   data.callback.print_content_empty_set = 0;
   data.callback.print_content_ignore = &fss_read_print_content_ignore;
   data.callback.print_content_next = 0;
index 1d7054877f781aa58d369adc8c7bbf4ba34ac2a8..4c48614b7cea40b7c4ae9e674dde47fc1fec72f2 100644 (file)
@@ -131,7 +131,6 @@ extern "C" {
  * print_at:                Print at the given location, usually called by the process_normal() callback.
  * print_object:            Print the Object, usually called by the process_normal() callback.
  * print_content:           Print the Content, usually called by the process_normal() callback.
- * print_content_empty:     Print something when the individual Content is empty (this is not about the Content set).
  * print_content_empty_set: Print something when the entire Content set is empty for the entire Content set.
  * print_content_ignore:    Print the Content ignore character, usually called by several callbacks within the process_normal() callback for a pipe.
  * print_content_next:      Print the Content next (content separator), usually called by several callbacks within the process_normal() callback.
@@ -154,7 +153,6 @@ extern "C" {
     f_status_t (*print_at)(fl_print_t * const print, const f_number_unsigned_t at, const f_number_unsigneds_t delimits_object, const f_number_unsigneds_t delimits_content);
     f_status_t (*print_object)(fl_print_t * const print, const f_number_unsigned_t at, const f_number_unsigneds_t delimits);
     f_status_t (*print_content)(fl_print_t * const print, const f_range_t range, const uint8_t quote, const f_number_unsigneds_t delimits);
-    //f_status_t (*print_content_empty)(fl_print_t * const print);
     f_status_t (*print_content_empty_set)(fl_print_t * const print);
     f_status_t (*print_content_ignore)(fl_print_t * const print);
     f_status_t (*print_content_next)(fl_print_t * const print);
index 6b8caeee6e11553ef508a44741063bda004a1e4e..e78059198280b55f30d206d345c674ff336fa03f 100644 (file)
@@ -111,7 +111,6 @@ int main(const int argc, const f_string_t *argv, const f_string_t *envp) {
 
     main->callback.print_at = &fss_read_print_at;
     main->callback.print_content = &fss_read_print_content;
-    //main->callback.print_content_empty = 0;
     main->callback.print_content_empty_set = &fss_read_print_content_empty_set_end;
     main->callback.print_content_ignore = 0;
     main->callback.print_content_next = 0;
@@ -164,7 +163,6 @@ int main(const int argc, const f_string_t *argv, const f_string_t *envp) {
         main->callback.process_total = &fss_read_process_normal_total;
 
         main->callback.print_content = &fss_read_print_content;
-        //main->callback.print_content_empty = 0;
         main->callback.print_content_empty_set = &fss_read_print_content_empty_set_end;
         main->callback.print_content_ignore = 0;
         main->callback.print_content_next = 0;
@@ -197,7 +195,6 @@ int main(const int argc, const f_string_t *argv, const f_string_t *envp) {
         main->callback.process_load = &fss_read_extended_process_load;
         main->callback.process_total = &fss_read_process_normal_total;
 
-        //main->callback.print_content_empty = 0;
         main->callback.print_content_empty_set = &fss_read_print_content_empty_set_end;
         main->callback.print_content_next = &fss_read_extended_print_data_content_next;
         main->callback.print_object_end = &fss_read_extended_print_data_object_end;
@@ -228,7 +225,6 @@ int main(const int argc, const f_string_t *argv, const f_string_t *envp) {
         main->callback.process_load = &fss_read_basic_list_process_load;
         main->callback.process_total = &fss_read_process_normal_total_multiple;
 
-        //main->callback.print_content_empty = 0;
         main->callback.print_content_empty_set = 0;
         main->callback.print_content_next = 0;
         main->callback.print_object_end = &fss_read_basic_list_print_data_object_end;
@@ -259,7 +255,6 @@ int main(const int argc, const f_string_t *argv, const f_string_t *envp) {
         main->callback.process_load = &fss_read_extended_list_process_load;
         main->callback.process_total = &fss_read_process_normal_total_multiple;
 
-        //main->callback.print_content_empty = 0;
         main->callback.print_content_empty_set = 0;
         main->callback.print_content_next = 0;
         main->callback.print_object_end = &fss_read_extended_list_print_data_object_end;
@@ -290,7 +285,6 @@ int main(const int argc, const f_string_t *argv, const f_string_t *envp) {
         main->callback.process_load = &fss_read_embedded_list_process_load;
         main->callback.process_total = &fss_read_process_normal_total_multiple;
 
-        //main->callback.print_content_empty = 0;
         main->callback.print_content_empty_set = 0;
         main->callback.print_content_next = 0;
         main->callback.print_object_end = &fss_read_embedded_list_print_data_object_end;
@@ -320,7 +314,6 @@ int main(const int argc, const f_string_t *argv, const f_string_t *envp) {
         main->callback.process_load = &fss_read_payload_process_load;
         main->callback.process_total = &fss_read_process_normal_total_multiple;
 
-        //main->callback.print_content_empty = 0;
         main->callback.print_content_empty_set = 0;
         main->callback.print_content_next = 0;
         main->callback.print_object_end = &fss_read_payload_print_data_object_end;
index 6146ff4c8d307c239434bbfc9474e32c75c4c633..bad567d2b5fa1f061d4543f1b2afe11493fd5e69 100644 (file)
@@ -35,7 +35,6 @@ int main(const int argc, const f_string_t *argv, const f_string_t *envp) {
 
   data.callback.print_at = &fss_read_print_at;
   data.callback.print_content = &fss_read_print_content;
-  //data.callback.print_content_empty = 0;
   data.callback.print_content_empty_set = 0;
   data.callback.print_content_ignore = &fss_read_print_content_ignore;
   data.callback.print_content_next = 0;