https://git.reactos.org/?p=reactos.git;a=commitdiff;h=1631f37404d57341dc05ed219029b2f38010fd5e

commit 1631f37404d57341dc05ed219029b2f38010fd5e
Author:     Serge Gautherie <[email protected]>
AuthorDate: Sat Mar 16 11:23:27 2019 +0100
Commit:     Mark Jansen <[email protected]>
CommitDate: Sat Mar 16 11:23:27 2019 +0100

    Merge pull request #1253 from 
SergeGautherie/SergeGautherie/PRonly_Log2Lines_handle_escape_cmd_Path-LineOut
    
    [LOG2LINES] handle_escape_cmd(): Remove 2 unused parameters
---
 sdk/tools/log2lines/cmd.c       | 2 +-
 sdk/tools/log2lines/cmd.h       | 2 +-
 sdk/tools/log2lines/log2lines.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sdk/tools/log2lines/cmd.c b/sdk/tools/log2lines/cmd.c
index 5a817a3e18..6fd8566a46 100644
--- a/sdk/tools/log2lines/cmd.c
+++ b/sdk/tools/log2lines/cmd.c
@@ -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';
diff --git a/sdk/tools/log2lines/cmd.h b/sdk/tools/log2lines/cmd.h
index c2380b2b89..0307809e0f 100644
--- a/sdk/tools/log2lines/cmd.h
+++ b/sdk/tools/log2lines/cmd.h
@@ -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 */
diff --git a/sdk/tools/log2lines/log2lines.c b/sdk/tools/log2lines/log2lines.c
index b5ff009c38..5495521057 100644
--- a/sdk/tools/log2lines/log2lines.c
+++ b/sdk/tools/log2lines/log2lines.c
@@ -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)

Reply via email to