cubehub / doppler

Command line utility that takes IQ data stream as input and produces doppler corrected output stream based on TLE
MIT License
51 stars 13 forks source link

I get compilation error "unnecessary parentheses around function argument" #7

Closed antonjan closed 6 years ago

antonjan commented 6 years ago

Hi Could please help

I am compiling on Ubuntu 16.04

sudo cargo build --release Compiling doppler v1.1.9 (file:///home/anton/Downloads/doppler) warning: unnecessary parentheses around function argument --> src/main.rs:91:88 91 let slice = unsafe {slice::from_raw_parts(output.asptr() as *const , (output.len() * 8))}; ^^^^^^^^^^^^^^^^^^ help: remove these parentheses

= note: #[warn(unused_parens)] on by default

Finished release [optimized] target(s) in 1.42 secs
andresv commented 6 years ago

It is just a warning. Actually it built.