Brendan Shanks (@bshanks) commented about dlls/ntdll/unix/system.c:
static NTSTATUS fill_battery_state( SYSTEM_BATTERY_STATE *bs ) {
- CFArrayRef batteries;
- CFDictionaryRef battery;
- CFNumberRef prop;
- uint32_t value, voltage;
- CFTimeInterval remain;
- if (IOPMCopyBatteryInfo( 0, &batteries ) != kIOReturnSuccess)
- CFTypeRef blob = IOPSCopyPowerSourcesInfo();
- CFArrayRef sources = IOPSCopyPowerSourcesList( blob );
- CFDictionaryRef source = NULL;
- CFTypeRef prop;
- Boolean is_charging;
- int32_t value, voltage;
All the blank lines in the patch have spaces, they should be empty