summaryrefslogtreecommitdiff
path: root/apps/gui/skin_engine/wps_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/skin_engine/wps_debug.c')
-rw-r--r--apps/gui/skin_engine/wps_debug.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/apps/gui/skin_engine/wps_debug.c b/apps/gui/skin_engine/wps_debug.c
index c4a73a7cfb..e3e6e960e6 100644
--- a/apps/gui/skin_engine/wps_debug.c
+++ b/apps/gui/skin_engine/wps_debug.c
@@ -495,12 +495,13 @@ static void dump_wps_tokens(struct wps_data *data)
495 } 495 }
496} 496}
497 497
498#if 0
499/* NOTE: this is probaly not even needed anymore */
498static void print_line_info(struct wps_data *data) 500static void print_line_info(struct wps_data *data)
499{ 501{
500 int i, j, v; 502 int i, j, v;
501 struct wps_line *line; 503 struct wps_line *line;
502 struct wps_subline *subline; 504 struct wps_subline *subline;
503
504 if (wps_verbose_level > 0) 505 if (wps_verbose_level > 0)
505 { 506 {
506 DEBUGF("Number of viewports : %d\n", data->num_viewports); 507 DEBUGF("Number of viewports : %d\n", data->num_viewports);
@@ -513,7 +514,7 @@ static void print_line_info(struct wps_data *data)
513 DEBUGF("Number of tokens : %d\n", data->num_tokens); 514 DEBUGF("Number of tokens : %d\n", data->num_tokens);
514 DEBUGF("\n"); 515 DEBUGF("\n");
515 } 516 }
516 517
517 if (wps_verbose_level > 1) 518 if (wps_verbose_level > 1)
518 { 519 {
519 for (v = 0; v < data->num_viewports; v++) 520 for (v = 0; v < data->num_viewports; v++)
@@ -549,8 +550,6 @@ static void print_line_info(struct wps_data *data)
549 DEBUGF("\n"); 550 DEBUGF("\n");
550 } 551 }
551} 552}
552#if 0
553/* NOTE: this is probaly not even needed anymore */
554static void print_wps_strings(struct wps_data *data) 553static void print_wps_strings(struct wps_data *data)
555{ 554{
556 int i, len, total_len = 0, buf_used = 0; 555 int i, len, total_len = 0, buf_used = 0;
@@ -588,7 +587,7 @@ void print_debug_info(struct wps_data *data, enum wps_parse_error fail, int line
588 { 587 {
589 dump_wps_tokens(data); 588 dump_wps_tokens(data);
590 /* print_wps_strings(data); */ 589 /* print_wps_strings(data); */
591 print_line_info(data); 590 /* print_line_info(data); */
592 } 591 }
593#endif /* SIMULATOR */ 592#endif /* SIMULATOR */
594 593