This repository has been archived by the owner on Nov 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
C and C Headers have some unsafe code #1
Comments
May be some problem with blank lines? Can you add examples ro repo? |
I noticed it in the Rust repo (See the example output), but I haven't yet done any real investigating such as creating a quick |
It seems to be the same bug as #2.
Result is
|
Makes sense, and now I see why I didn't catch it before! Thanks! 😄 |
#2 found some of the erroneous lines...but not all. |
The only place, where count.code increments before unsafe check is
and there is |
Let me fix it? |
That was it! Sorry, I just pushed the patch! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Since the unsafe counter is naive and counts all C and C++ as unsafe it's strange that some code in
.c
and.h
files is not unsafe. See the example in theREADME.md
...The text was updated successfully, but these errors were encountered: