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
/
context.cpp
diff --git
a/src/common/context.cpp
b/src/common/context.cpp
index b85a39abd92f6a19c53ef60e2bb3c7e2d0e77990..60e30ad298d9edc9a9bf7a519dc0bba32cf794d3 100644
(file)
--- a/
src/common/context.cpp
+++ b/
src/common/context.cpp
@@
-16,7
+16,7
@@
int parse_application_context(const char *str, char **out_provider_name, char **out_ctx_name)
{
const char app_ctx_prefix[] = "$app.";
int parse_application_context(const char *str, char **out_provider_name, char **out_ctx_name)
{
const char app_ctx_prefix[] = "$app.";
- char *provider_name =
NULL, *ctx_name = NULL
;
+ char *provider_name =
nullptr, *ctx_name = nullptr
;
size_t i, len, colon_pos = 0, provider_name_len, ctx_name_len;
if (!str || !out_provider_name || !out_ctx_name) {
size_t i, len, colon_pos = 0, provider_name_len, ctx_name_len;
if (!str || !out_provider_name || !out_ctx_name) {
This page took
0.023661 seconds
and
4
git commands to generate.