Skip to content

Commit

Permalink
Set pointer only if not null
Browse files Browse the repository at this point in the history
  • Loading branch information
MaJerle committed Aug 12, 2022
1 parent 077c829 commit c21e315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lwow/src/lwow/lwow.c
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ lwow_write_byte_ex_raw(lwow_t* const ow, const uint8_t btw, uint8_t* const br) {
r |= 0x01 << i;
}
}
*br = r;
SET_NOT_NULL(br, r);
}
return lwowOK;
}
Expand Down

0 comments on commit c21e315

Please sign in to comment.