projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Silence warning by casting *sin_addr to *sockaddr
[lttng-tools.git]
/
src
/
common
/
mi-lttng.c
diff --git
a/src/common/mi-lttng.c
b/src/common/mi-lttng.c
index 10e82115ea6478ede3bed74be1d5436f2395c8dd..fc22e4e0cabeb34f9f75b78607d79d0b5337f7f2 100644
(file)
--- a/
src/common/mi-lttng.c
+++ b/
src/common/mi-lttng.c
@@
-17,7
+17,7
@@
*/
#define _LGPL_SOURCE
*/
#define _LGPL_SOURCE
-#include <common/config/config.h>
+#include <common/config/
session-
config.h>
#include <lttng/snapshot-internal.h>
#include "mi-lttng.h"
#include <lttng/snapshot-internal.h>
#include "mi-lttng.h"
@@
-397,6
+397,7
@@
const char *mi_lttng_domaintype_string(enum lttng_domain_type value)
default:
/* Should not have an unknown domain */
assert(0);
default:
/* Should not have an unknown domain */
assert(0);
+ return NULL;
}
}
}
}
@@
-413,6
+414,7
@@
const char *mi_lttng_buffertype_string(enum lttng_buffer_type value)
default:
/* Should not have an unknow buffer type */
assert(0);
default:
/* Should not have an unknow buffer type */
assert(0);
+ return NULL;
}
}
}
}
This page took
0.02689 seconds
and
5
git commands to generate.