Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace session pointer with refcount #322

Merged
merged 36 commits into from
Jan 18, 2024

fix: compilation issues

7e9441a
Select commit
Loading
Failed to load commit list.
Merged

Replace session pointer with refcount #322

fix: compilation issues
7e9441a
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / Cppcheck (reported by Codacy) succeeded Jan 18, 2024 in 8s

54 new alerts

New alerts in code changed by this pull request

  • 34 warnings
  • 20 notes

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 433 in src/api/api.c

See this annotation in the file changed.

Code scanning / Cppcheck (reported by Codacy)

misra violation 804 with no text in the supplied rule-texts-file Warning

misra violation 804 with no text in the supplied rule-texts-file

Check notice on line 433 in src/api/api.c

See this annotation in the file changed.

Code scanning / Cppcheck (reported by Codacy)

MISRA 17.7 rule Note

MISRA 17.7 rule

Check warning on line 69 in include/zenoh-pico/net/session.h

See this annotation in the file changed.

Code scanning / Cppcheck (reported by Codacy)

There is an unknown macro here somewhere. Configuration is required. If _Z_REFCOUNT_DEFINE is a macro then please configure it. Warning

There is an unknown macro here somewhere. Configuration is required. If _Z_REFCOUNT_DEFINE is a macro then please configure it.

Check warning on line 19 in include/zenoh-pico/collections/refcount.h

See this annotation in the file changed.

Code scanning / Cppcheck (reported by Codacy)

Include file: <stdint.h> not found. Please note: Cppcheck does not need standard library headers to get proper results. Warning

Include file: <stdint.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.

Check warning on line 18 in include/zenoh-pico/collections/refcount.h

See this annotation in the file changed.

Code scanning / Cppcheck (reported by Codacy)

Include file: <stdbool.h> not found. Please note: Cppcheck does not need standard library headers to get proper results. Warning

Include file: <stdbool.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.

Check warning on line 25 in include/zenoh-pico/collections/refcount.h

See this annotation in the file changed.

Code scanning / Cppcheck (reported by Codacy)

Include file: <stdatomic.h> not found. Please note: Cppcheck does not need standard library headers to get proper results. Warning

Include file: <stdatomic.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.

Check warning on line 271 in src/net/primitives.c

See this annotation in the file changed.

Code scanning / Cppcheck (reported by Codacy)

misra violation 804 with no text in the supplied rule-texts-file Warning

misra violation 804 with no text in the supplied rule-texts-file

Check warning on line 101 in src/net/primitives.c

See this annotation in the file changed.

Code scanning / Cppcheck (reported by Codacy)

misra violation 804 with no text in the supplied rule-texts-file Warning

misra violation 804 with no text in the supplied rule-texts-file

Check warning on line 188 in src/net/primitives.c

See this annotation in the file changed.

Code scanning / Cppcheck (reported by Codacy)

misra violation 804 with no text in the supplied rule-texts-file Warning

misra violation 804 with no text in the supplied rule-texts-file

Check warning on line 56 in src/session/queryable.c

See this annotation in the file changed.

Code scanning / Cppcheck (reported by Codacy)

misra violation 804 with no text in the supplied rule-texts-file Warning

misra violation 804 with no text in the supplied rule-texts-file

Check warning on line 122 in src/session/queryable.c

See this annotation in the file changed.

Code scanning / Cppcheck (reported by Codacy)

misra violation 804 with no text in the supplied rule-texts-file Warning

misra violation 804 with no text in the supplied rule-texts-file

Check warning on line 205 in src/session/queryable.c

See this annotation in the file changed.

Code scanning / Cppcheck (reported by Codacy)

misra violation 804 with no text in the supplied rule-texts-file Warning

misra violation 804 with no text in the supplied rule-texts-file

Check warning on line 88 in src/session/queryable.c

See this annotation in the file changed.

Code scanning / Cppcheck (reported by Codacy)

misra violation 804 with no text in the supplied rule-texts-file Warning

misra violation 804 with no text in the supplied rule-texts-file

Check warning on line 107 in src/session/queryable.c

See this annotation in the file changed.

Code scanning / Cppcheck (reported by Codacy)

misra violation 804 with no text in the supplied rule-texts-file Warning

misra violation 804 with no text in the supplied rule-texts-file

Check warning on line 93 in src/session/queryable.c

See this annotation in the file changed.

Code scanning / Cppcheck (reported by Codacy)

misra violation 804 with no text in the supplied rule-texts-file Warning

misra violation 804 with no text in the supplied rule-texts-file

Check warning on line 78 in src/session/queryable.c

See this annotation in the file changed.

Code scanning / Cppcheck (reported by Codacy)

misra violation 804 with no text in the supplied rule-texts-file Warning

misra violation 804 with no text in the supplied rule-texts-file

Check warning on line 39 in src/session/queryable.c

See this annotation in the file changed.

Code scanning / Cppcheck (reported by Codacy)

misra violation 804 with no text in the supplied rule-texts-file Warning

misra violation 804 with no text in the supplied rule-texts-file

Check warning on line 127 in src/session/subscription.c

See this annotation in the file changed.

Code scanning / Cppcheck (reported by Codacy)

misra violation 804 with no text in the supplied rule-texts-file Warning

misra violation 804 with no text in the supplied rule-texts-file

Check warning on line 226 in src/session/subscription.c

See this annotation in the file changed.

Code scanning / Cppcheck (reported by Codacy)

misra violation 804 with no text in the supplied rule-texts-file Warning

misra violation 804 with no text in the supplied rule-texts-file

Check warning on line 92 in src/session/subscription.c

See this annotation in the file changed.

Code scanning / Cppcheck (reported by Codacy)

misra violation 804 with no text in the supplied rule-texts-file Warning

misra violation 804 with no text in the supplied rule-texts-file

Check warning on line 99 in src/session/subscription.c

See this annotation in the file changed.

Code scanning / Cppcheck (reported by Codacy)

misra violation 804 with no text in the supplied rule-texts-file Warning

misra violation 804 with no text in the supplied rule-texts-file

Check warning on line 81 in src/session/subscription.c

See this annotation in the file changed.

Code scanning / Cppcheck (reported by Codacy)

misra violation 804 with no text in the supplied rule-texts-file Warning

misra violation 804 with no text in the supplied rule-texts-file

Check warning on line 59 in src/session/subscription.c

See this annotation in the file changed.

Code scanning / Cppcheck (reported by Codacy)

misra violation 804 with no text in the supplied rule-texts-file Warning

misra violation 804 with no text in the supplied rule-texts-file

Check warning on line 42 in src/session/subscription.c

See this annotation in the file changed.

Code scanning / Cppcheck (reported by Codacy)

misra violation 804 with no text in the supplied rule-texts-file Warning

misra violation 804 with no text in the supplied rule-texts-file

Check warning on line 113 in src/session/subscription.c

See this annotation in the file changed.

Code scanning / Cppcheck (reported by Codacy)

misra violation 804 with no text in the supplied rule-texts-file Warning

misra violation 804 with no text in the supplied rule-texts-file