projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean-up: consumer.hpp: coding style indentation fix
[lttng-tools.git]
/
src
/
common
/
fd-handle.cpp
diff --git
a/src/common/fd-handle.cpp
b/src/common/fd-handle.cpp
index 6bc1e9b5246e4ab3d6a7bfa0ef342e9c94edf065..6cf382757cb01cd9f2792b17b1da81375482681e 100644
(file)
--- a/
src/common/fd-handle.cpp
+++ b/
src/common/fd-handle.cpp
@@
-34,7
+34,7
@@
static void fd_handle_release(struct urcu_ref *ref)
struct fd_handle *fd_handle_create(int fd)
{
struct fd_handle *fd_handle_create(int fd)
{
- struct fd_handle *handle =
NULL
;
+ struct fd_handle *handle =
nullptr
;
if (fd < 0) {
ERR("Attempted to create an fd_handle from an invalid file descriptor: fd = %d",
if (fd < 0) {
ERR("Attempted to create an fd_handle from an invalid file descriptor: fd = %d",
@@
-81,7
+81,7
@@
int fd_handle_get_fd(struct fd_handle *handle)
struct fd_handle *fd_handle_copy(const struct fd_handle *handle)
{
struct fd_handle *fd_handle_copy(const struct fd_handle *handle)
{
- struct fd_handle *new_handle =
NULL
;
+ struct fd_handle *new_handle =
nullptr
;
const int new_fd = dup(handle->fd);
if (new_fd < 0) {
const int new_fd = dup(handle->fd);
if (new_fd < 0) {
This page took
0.02328 seconds
and
4
git commands to generate.