From: cuz Date: Sun, 10 Oct 2004 10:19:19 +0000 (+0000) Subject: The --forget-inc-paths option did not work correctly X-Git-Tag: V2.12.0~598 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=340a16e399892984b8210af6eb0ac7e68097b3da;p=cc65 The --forget-inc-paths option did not work correctly git-svn-id: svn://svn.cc65.org/cc65/trunk@3237 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/cl65/main.c b/src/cl65/main.c index 095813fe8..216743e5d 100644 --- a/src/cl65/main.c +++ b/src/cl65/main.c @@ -830,10 +830,11 @@ static void OptFeature (const char* Opt attribute ((unused)), const char* Arg) -static void OptForgetIncPaths (const char* Opt attribute ((unused)), const char* Arg) +static void OptForgetIncPaths (const char* Opt attribute ((unused)), + const char* Arg attribute ((unused))) /* Forget all currently defined include paths */ { - CmdAddArg2 (&CC65, "--forget-inc-paths", Arg); + CmdAddArg (&CC65, "--forget-inc-paths"); }