Merge pull request #1253 from SergeGautherie/SergeGautherie/PRonly_Log2Lines_handle_e...
authorSerge Gautherie <32623169+SergeGautherie@users.noreply.github.com>
Sat, 16 Mar 2019 10:23:27 +0000 (11:23 +0100)
committerMark Jansen <mark.jansen@reactos.org>
Sat, 16 Mar 2019 10:23:27 +0000 (11:23 +0100)
[LOG2LINES] handle_escape_cmd(): Remove 2 unused parameters

sdk/tools/log2lines/cmd.c
sdk/tools/log2lines/cmd.h
sdk/tools/log2lines/log2lines.c

index 5a817a3..6fd8566 100644 (file)
@@ -177,7 +177,7 @@ handle_address_cmd(FILE *outFile, char *arg)
 }
 
 char
-handle_escape_cmd(FILE *outFile, char *Line, char *path, char *LineOut)
+handle_escape_cmd(FILE *outFile, char *Line)
 {
     char cmd;
     char sep = '\n';
index c2380b2..0307809 100644 (file)
@@ -18,6 +18,6 @@
 #define KDBG_CONT       "---"                       //Also after this pattern (prompt with no line ending)
 #define KDBG_DISCARD    "Command '" KDBG_ESC_STR    //Discard responses at l2l escape commands
 
-char handle_escape_cmd(FILE *outFile, char *Line, char *path, char *LineOut);
+char handle_escape_cmd(FILE *outFile, char *Line);
 
 /* EOF */
index b5ff009..5495521 100644 (file)
@@ -439,7 +439,7 @@ translate_files(FILE *inFile, FILE *outFile)
                     }
                     else
                     {
-                        Line[1] = handle_escape_cmd(outFile, Line, path, LineOut);
+                        Line[1] = handle_escape_cmd(outFile, Line);
                         if (Line[1] != KDBG_ESC_CHAR)
                         {
                             if (p == p_eos)