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
/
bin
/
lttng-relayd
/
utils.cpp
diff --git
a/src/bin/lttng-relayd/utils.cpp
b/src/bin/lttng-relayd/utils.cpp
index 6ea98ec7cea8ea15c59b05a283764a3ce4d44982..3d02f6044b20cd66b5a9920fc18ebdcedcf04a05 100644
(file)
--- a/
src/bin/lttng-relayd/utils.cpp
+++ b/
src/bin/lttng-relayd/utils.cpp
@@
-22,11
+22,11
@@
static char *create_output_path_auto(const char *path_name)
{
int ret;
static char *create_output_path_auto(const char *path_name)
{
int ret;
- char *traces_path =
NULL
;
+ char *traces_path =
nullptr
;
const char *default_path;
default_path = utils_get_home_dir();
const char *default_path;
default_path = utils_get_home_dir();
- if (default_path ==
NULL
) {
+ if (default_path ==
nullptr
) {
ERR("Home path not found.\n \
Please specify an output path using -o, --output PATH");
goto exit;
ERR("Home path not found.\n \
Please specify an output path using -o, --output PATH");
goto exit;
@@
-43,7
+43,7
@@
exit:
static char *create_output_path_noauto(const char *path_name)
{
int ret;
static char *create_output_path_noauto(const char *path_name)
{
int ret;
- char *traces_path =
NULL
;
+ char *traces_path =
nullptr
;
char *full_path;
full_path = utils_expand_path(opt_output_path);
char *full_path;
full_path = utils_expand_path(opt_output_path);
@@
-70,7
+70,7
@@
char *create_output_path(const char *path_name)
{
LTTNG_ASSERT(path_name);
{
LTTNG_ASSERT(path_name);
- if (opt_output_path ==
NULL
) {
+ if (opt_output_path ==
nullptr
) {
return create_output_path_auto(path_name);
} else {
return create_output_path_noauto(path_name);
return create_output_path_auto(path_name);
} else {
return create_output_path_noauto(path_name);
This page took
0.024629 seconds
and
4
git commands to generate.