mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-25 20:12:14 +03:00
Remove Warnings in C
Annotating param with __attribute__((unused)) is not supported in windows build
This commit is contained in:
parent
61f3791bdb
commit
b82e925ce7
@ -6,5 +6,6 @@ fn main() {
|
||||
let native_src = project_root.join("native");
|
||||
Build::new()
|
||||
.file(native_src.join("libxml.c"))
|
||||
.flag_if_supported("-Wno-unused-parameter") // unused parameter in silent callback
|
||||
.compile("mylib");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user