mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Another small tweak to whitespace tool
clang-format doesn't appear to reindent multi line #define statements correctly - so this hopefully will clean those up. The included whitespace corrections to the code should stay in place when using the updated tool. This includes cleaning up some multi-line comments that were messed up the last time around as well as a few other minor changes. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
13a2f14be0
commit
1b103c5c69
9 changed files with 69 additions and 54 deletions
|
@ -183,9 +183,9 @@ sample_cb(dc_sample_type_t type, dc_sample_value_t value, void *userdata)
|
|||
sample = dc->samples ? dc->sample + dc->samples - 1 : NULL;
|
||||
|
||||
/*
|
||||
* Ok, sanity check.
|
||||
* If first sample is not a DC_SAMPLE_TIME, Allocate a sample for us
|
||||
*/
|
||||
* Ok, sanity check.
|
||||
* If first sample is not a DC_SAMPLE_TIME, Allocate a sample for us
|
||||
*/
|
||||
if (sample == NULL && type != DC_SAMPLE_TIME)
|
||||
sample = prepare_sample(dc);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue