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
/
lib
/
lttng-ctl
/
destruction-handle.cpp
diff --git
a/src/lib/lttng-ctl/destruction-handle.cpp
b/src/lib/lttng-ctl/destruction-handle.cpp
index d77554a588fb58da04a2db7e066b3c95dedffff0..34f58f7e01187afc2ae5ab1ad326326197abf009 100644
(file)
--- a/
src/lib/lttng-ctl/destruction-handle.cpp
+++ b/
src/lib/lttng-ctl/destruction-handle.cpp
@@
-90,7
+90,7
@@
end:
return handle;
error:
lttng_destruction_handle_destroy(handle);
return handle;
error:
lttng_destruction_handle_destroy(handle);
- return
NULL
;
+ return
nullptr
;
}
static int handle_state_transition(struct lttng_destruction_handle *handle)
}
static int handle_state_transition(struct lttng_destruction_handle *handle)
@@
-377,7
+377,7
@@
enum lttng_error_code lttng_destroy_session_ext(const char *session_name,
.fd_count = 0,
};
int sessiond_socket = -1;
.fd_count = 0,
};
int sessiond_socket = -1;
- struct lttng_destruction_handle *handle =
NULL
;
+ struct lttng_destruction_handle *handle =
nullptr
;
if (!session_name) {
ret_code = LTTNG_ERR_INVALID;
if (!session_name) {
ret_code = LTTNG_ERR_INVALID;
@@
-414,7
+414,7
@@
enum lttng_error_code lttng_destroy_session_ext(const char *session_name,
/* Transfer the handle to the caller. */
if (_handle) {
*_handle = handle;
/* Transfer the handle to the caller. */
if (_handle) {
*_handle = handle;
- handle =
NULL
;
+ handle =
nullptr
;
}
error:
if (sessiond_socket >= 0) {
}
error:
if (sessiond_socket >= 0) {
This page took
0.02399 seconds
and
4
git commands to generate.