[haiku-commits] Re: haiku: hrev50979 - in src/system: kernel/arch/x86 boot/loader
- From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
- To: haiku-commits@xxxxxxxxxxxxx
- Date: Sun, 26 Feb 2017 12:40:07 +0100
Am 25/02/2017 um 21:29 schrieb waddlesplash@xxxxxxxxx:
- uintptr_t handler =
reinterpret_cast<uintptr_t>(thread->fault_handler);
if (thread && thread->fault_handler != 0) {
+ uintptr_t handler =
+
reinterpret_cast<uintptr_t>(thread->fault_handler);
The '=' goes to the second line.
And while you're at it, you could add a "!= NULL" after "if (thread ...) :-)
Bye,
Axel.
Other related posts: