Commit 208a0c20 authored by gintas's avatar gintas Committed by Austin Seipp

Fixed unused variable warning on mingw32/i686 in rts/Linker.c

The warning was breaking validate.sh runs due to -Wall.

Reviewers: austin

Reviewed By: austin

Subscribers: #ghc_windows_task_force, thomie, carter, simonmar

Differential Revision: https://phabricator.haskell.org/D400
parent 64d0a198
......@@ -3706,8 +3706,8 @@ allocateImageAndTrampolines (
PAGE_EXECUTE_READWRITE);
if (image == NULL) {
errorBelch("%" PATH_FMT ": failed to allocate memory for image",
arch_name);
errorBelch("%" PATH_FMT ": failed to allocate memory for image for %s",
arch_name, member_name);
return NULL;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment