mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Assignment instead of test for equality
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a8194fddc5
commit
abc6c7d2b3
1 changed files with 1 additions and 1 deletions
|
@ -2081,7 +2081,7 @@ static dc_status_t write_ostc_settings(dc_device_t *device, DeviceDetails *m_dev
|
|||
time.hour = timeToSet.time().hour();
|
||||
time.minute = timeToSet.time().minute();
|
||||
time.second = timeToSet.time().second();
|
||||
time.timezone == DC_TIMEZONE_NONE;
|
||||
time.timezone = DC_TIMEZONE_NONE;
|
||||
rc = dc_device_timesync(device, &time);
|
||||
}
|
||||
EMIT_PROGRESS();
|
||||
|
|
Loading…
Add table
Reference in a new issue