Skip to content

fix spec on Linux/macOS #872

fix spec on Linux/macOS

fix spec on Linux/macOS #872

GitHub Actions / Ameba failed Sep 17, 2024 in 1s

Crystal Ameba Results

Total files checked: 25
Issues found: 7

Ameba Version: 1.6.1
Crystal Version: 1.10.0

Annotations

Check warning on line 3 in src/ext/lib_c/c/netinet/in.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Lint/UselessAssign

Useless assignment to variable `ifa_next`
Raw output
> ifa_next : Pointer(Ifaddrs)
  ^

Check warning on line 4 in src/ext/lib_c/c/netinet/in.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Lint/UselessAssign

Useless assignment to variable `ifa_name`
Raw output
> ifa_name : UInt64
  ^

Check warning on line 5 in src/ext/lib_c/c/netinet/in.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Lint/UselessAssign

Useless assignment to variable `ifa_flags`
Raw output
> ifa_flags : UInt32
  ^

Check warning on line 6 in src/ext/lib_c/c/netinet/in.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Lint/UselessAssign

Useless assignment to variable `ifa_addr`
Raw output
> ifa_addr : Pointer(Void)
  ^

Check warning on line 7 in src/ext/lib_c/c/netinet/in.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Lint/UselessAssign

Useless assignment to variable `ifa_netmask`
Raw output
> ifa_netmask : Pointer(Void)
  ^

Check warning on line 8 in src/ext/lib_c/c/netinet/in.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Lint/UselessAssign

Useless assignment to variable `ifa_broadaddr`
Raw output
> ifa_broadaddr : Pointer(Void)
  ^

Check warning on line 9 in src/ext/lib_c/c/netinet/in.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Lint/UselessAssign

Useless assignment to variable `ifa_data`
Raw output
> ifa_data : Pointer(Void)
  ^