summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/cbfstool/linux_trampoline.c2
-rw-r--r--util/cbfstool/lzma/C/LzmaEnc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/util/cbfstool/linux_trampoline.c b/util/cbfstool/linux_trampoline.c
index 79d15769a2..368d63a807 100644
--- a/util/cbfstool/linux_trampoline.c
+++ b/util/cbfstool/linux_trampoline.c
@@ -137,5 +137,5 @@ const unsigned char trampoline[] = {
0x02, 0x09, 0x00, 0xf4, 0xeb, 0xfd
};
-void * const trampoline_start = &trampoline;
+const void * const trampoline_start = &trampoline;
const unsigned long trampoline_size = sizeof trampoline;
diff --git a/util/cbfstool/lzma/C/LzmaEnc.c b/util/cbfstool/lzma/C/LzmaEnc.c
index 9b18b19688..e112a4a8b1 100644
--- a/util/cbfstool/lzma/C/LzmaEnc.c
+++ b/util/cbfstool/lzma/C/LzmaEnc.c
@@ -2080,7 +2080,7 @@ static void LzmaEnc_Finish(CLzmaEncHandle pp)
if (p->mtMode)
MatchFinderMt_ReleaseStream(&p->matchFinderMt);
#else
- pp = pp;
+ (void)pp;
#endif
}