Skip to content

Commit

Permalink
chore: run clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-roland committed Oct 13, 2023
1 parent 8a5ee92 commit d2297fb
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 7 deletions.
4 changes: 1 addition & 3 deletions examples/espidf/z_get.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,5 @@ void app_main() {
printf("OK!\n");
}
#else
void app_main() {
printf("ERROR: Zenoh pico was compiled without Z_FEATURE_QUERY but this example requires it.\n");
}
void app_main() { printf("ERROR: Zenoh pico was compiled without Z_FEATURE_QUERY but this example requires it.\n"); }
#endif
2 changes: 1 addition & 1 deletion include/zenoh-pico/session/push.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
#ifndef ZENOH_PICO_SESSION_PUSH_H
#define ZENOH_PICO_SESSION_PUSH_H

int8_t _z_trigger_push(_z_session_t *zn, _z_n_msg_push_t *push) ;
int8_t _z_trigger_push(_z_session_t *zn, _z_n_msg_push_t *push);

#endif /* ZENOH_PICO_SESSION_PUSH_H */
2 changes: 1 addition & 1 deletion src/api/api.c
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ z_value_t z_reply_err(const z_owned_reply_t *reply) {
#if Z_FEATURE_QUERYABLE == 1
OWNED_FUNCTIONS_PTR_COMMON(z_queryable_t, z_owned_queryable_t, queryable)
OWNED_FUNCTIONS_PTR_CLONE(z_queryable_t, z_owned_queryable_t, queryable, _z_owner_noop_copy)
void z_queryable_drop(z_owned_queryable_t *val) { z_undeclare_queryable(val);}
void z_queryable_drop(z_owned_queryable_t *val) { z_undeclare_queryable(val); }

z_queryable_options_t z_queryable_options_default(void) {
return (z_queryable_options_t){.complete = _Z_QUERYABLE_COMPLETE_DEFAULT};
Expand Down
1 change: 0 additions & 1 deletion src/session/queryable.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include "zenoh-pico/session/utils.h"
#include "zenoh-pico/utils/logging.h"


#if Z_FEATURE_QUERYABLE == 1
_Bool _z_questionable_eq(const _z_questionable_t *one, const _z_questionable_t *two) { return one->_id == two->_id; }

Expand Down
1 change: 0 additions & 1 deletion tests/z_api_null_drop_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ int main(void) {
z_drop(z_move(reply_null_1));
z_drop(z_move(reply_null_2));
#endif

}

return 0;
Expand Down

0 comments on commit d2297fb

Please sign in to comment.