mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 01:41:12 +03:00
llvm: Fixed remaining warnings for llvm
This commit addresses warnings emitted from the llvm compilers which were not encountered with gnu. Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
@ -209,7 +209,7 @@ upm_result_t tsl2561_compute_lux(const tsl2561_context dev, int *int_data) {
|
||||
|
||||
// round the ratio value
|
||||
int64_t ratio = (ratio_1 + 1) >> 1;
|
||||
unsigned int b, m;
|
||||
unsigned int b = 0, m = 0;
|
||||
|
||||
// CS package
|
||||
// Check if ratio <= eachBreak ?
|
||||
|
@ -154,7 +154,7 @@ TSL2561::getLux()
|
||||
// round the ratio value
|
||||
int64_t ratio = (ratio1 + 1) >> 1;
|
||||
|
||||
unsigned int b, m;
|
||||
unsigned int b = 0, m = 0;
|
||||
|
||||
// CS package
|
||||
// Check if ratio <= eachBreak ?
|
||||
|
Reference in New Issue
Block a user