Fix compiler warnings (#2579)

This commit is contained in:
hashmap 2019-02-15 19:46:25 +01:00 committed by Ignotus Peverell
parent 271042c3b0
commit 049a0cd128
2 changed files with 1 additions and 2 deletions

View file

@ -46,6 +46,7 @@ const GRIN_HOME: &'static str = ".grin";
const GRIN_CHAIN_DIR: &'static str = "chain_data";
/// Wallet data directory
pub const GRIN_WALLET_DIR: &'static str = "wallet_data";
/// API secret file name
pub const API_SECRET_FILE_NAME: &'static str = ".api_secret";
fn get_grin_path(chain_type: &global::ChainTypes) -> Result<PathBuf, ConfigError> {

View file

@ -13,8 +13,6 @@
// limitations under the License.
/// Grin server commands processing
#[cfg(not(target_os = "windows"))]
use std::env::current_dir;
use std::process::exit;
use std::sync::atomic::{AtomicBool, Ordering};
use std::sync::Arc;