Skip to content

Commit be3017b

Browse files
committed
Bug 1672908 - Fix "unused variable uc" on arm64 macOS. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D94550
1 parent 3af312e commit be3017b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

toolkit/xre/nsSigHandlers.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,9 @@ static void fpehandler(int signum, siginfo_t* si, void* context) {
150150
}
151151

152152
# ifdef XP_MACOSX
153+
# if defined(__i386__) || defined(__amd64__)
153154
ucontext_t* uc = (ucontext_t*)context;
154155

155-
# if defined(__i386__) || defined(__amd64__)
156156
_STRUCT_FP_CONTROL* ctrl = &uc->uc_mcontext->__fs.__fpu_fcw;
157157
ctrl->__invalid = ctrl->__denorm = ctrl->__zdiv = ctrl->__ovrfl =
158158
ctrl->__undfl = ctrl->__precis = 1;

0 commit comments

Comments
 (0)