projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clang-tidy: add Chrome-inspired checks
[lttng-tools.git]
/
src
/
common
/
snapshot.cpp
diff --git
a/src/common/snapshot.cpp
b/src/common/snapshot.cpp
index ba4a554513a75171c7febe6b243da5bc1fc2ea52..765c11cb4d60efab0fbd84de372dd68f0c571f1f 100644
(file)
--- a/
src/common/snapshot.cpp
+++ b/
src/common/snapshot.cpp
@@
-127,7
+127,7
@@
ssize_t lttng_snapshot_output_create_from_payload(struct lttng_payload_view *vie
struct lttng_snapshot_output **output_p)
{
const struct lttng_snapshot_output_comm *comm;
struct lttng_snapshot_output **output_p)
{
const struct lttng_snapshot_output_comm *comm;
- struct lttng_snapshot_output *output =
NULL
;
+ struct lttng_snapshot_output *output =
nullptr
;
int ret;
if (view->buffer.size != sizeof(*comm)) {
int ret;
if (view->buffer.size != sizeof(*comm)) {
@@
-162,7
+162,7
@@
ssize_t lttng_snapshot_output_create_from_payload(struct lttng_payload_view *vie
}
*output_p = output;
}
*output_p = output;
- output =
NULL
;
+ output =
nullptr
;
ret = sizeof(*comm);
end:
ret = sizeof(*comm);
end:
This page took
0.023464 seconds
and
4
git commands to generate.