https://git.reactos.org/?p=reactos.git;a=commitdiff;h=da019b0fc57ac4c6b9a16…
commit da019b0fc57ac4c6b9a161332a576693c6e8ccd9
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Fri Oct 19 00:25:19 2018 +0200
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Fri Oct 19 00:25:19 2018 +0200
[MKHIVE] Fix some compilation warnings.
---
sdk/tools/mkhive/mkhive.c | 2 +-
sdk/tools/mkhive/registry.c | 1 -
sdk/tools/mkhive/rtl.c | 1 -
3 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/sdk/tools/mkhive/mkhive.c b/sdk/tools/mkhive/mkhive.c
index ab4342c9d9..b7e370117f 100644
--- a/sdk/tools/mkhive/mkhive.c
+++ b/sdk/tools/mkhive/mkhive.c
@@ -94,7 +94,7 @@ void convert_path(char *dst, char *src)
int main(int argc, char *argv[])
{
INT ret;
- UINT i;
+ INT i;
PSTR ptr;
BOOL UpperCaseFileName = FALSE;
PCSTR HiveList = NULL;
diff --git a/sdk/tools/mkhive/registry.c b/sdk/tools/mkhive/registry.c
index ad0aafc59c..8ee8d36ec8 100644
--- a/sdk/tools/mkhive/registry.c
+++ b/sdk/tools/mkhive/registry.c
@@ -403,7 +403,6 @@ RegpCreateOrOpenKey(
HCELL_INDEX ParentCellOffset;
PCM_KEY_NODE ParentKeyCell;
PLIST_ENTRY Ptr;
- PCM_KEY_NODE SubKeyCell;
HCELL_INDEX BlockOffset;
DPRINT("RegpCreateOrOpenKey('%S')\n", KeyName);
diff --git a/sdk/tools/mkhive/rtl.c b/sdk/tools/mkhive/rtl.c
index d8649d22c8..c7979afc6a 100644
--- a/sdk/tools/mkhive/rtl.c
+++ b/sdk/tools/mkhive/rtl.c
@@ -165,7 +165,6 @@ KeBugCheckEx(
IN ULONG_PTR BugCheckParameter3,
IN ULONG_PTR BugCheckParameter4)
{
- char Buffer[70];
printf("*** STOP: 0x%08X (0x%p,0x%p,0x%p,0x%p)",
BugCheckCode,
(PVOID)BugCheckParameter1,