mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
ptp-helper: Allow unused Stderr
export
It's not used when building tests and would otherwise cause a warning. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5872>
This commit is contained in:
parent
9dc29d12a3
commit
5630294ce6
1 changed files with 4 additions and 1 deletions
|
@ -1327,7 +1327,10 @@ mod imp {
|
|||
}
|
||||
}
|
||||
|
||||
pub use self::imp::{Poll, Stderr, Stdin, Stdout};
|
||||
// `Stderr` is not used when tests are enabled as no logging is performed to stderr.
|
||||
#[cfg_attr(test, allow(unused_imports))]
|
||||
pub use self::imp::Stderr;
|
||||
pub use self::imp::{Poll, Stdin, Stdout};
|
||||
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
|
|
Loading…
Reference in a new issue