Commit Graph

5 Commits

Author SHA1 Message Date
Andrei Emeltchenko
f9f6dd4c58 android/mcap: Fix using uninitialised value
Fixes clang warning:
...
android/mcap-lib.c:2366:20: warning: The left operand of '*' is a
garbage value
        return tv->tv_sec * 1000000ll + tv->tv_nsec / 1000ll;
               ~~~~~~~~~~ ^
1 warning generated.
...
2014-06-27 16:10:03 +02:00
Andrei Emeltchenko
fddcaa4833 android/health: Fix missing error check 2014-06-25 17:29:54 +02:00
Andrei Emeltchenko
ee86b4a255 android/health: Fix possible overflow 2014-06-25 17:29:54 +02:00
Szymon Janc
7a2d604673 android: Make multi-line comments style consistent
Use common style for multi-line comments consistent with rest of
codebase.
2014-04-29 13:31:00 +02:00
Ravi kumar Veeramally
dceee75c55 android: Add initial MCAP common code
The patch keeps all MCAP specific logic in mcap-lib until it receives
proper unit tests and then eventually will be used by health profile
code as well.
2014-04-07 12:59:06 +02:00