Skip to content

Commit

Permalink
Removed unused code from hash
Browse files Browse the repository at this point in the history
  • Loading branch information
okynos committed May 19, 2022
1 parent 8d3a080 commit 0a5a4c3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/hash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ pub fn get_checksum(file: String) -> String {
debug!("File Not found error ignoring...");
String::from("UNKNOWN")
},
ErrorKind::InvalidData => {
debug!("File data not valid ignoring...");
String::from("UNKNOWN")
},
_ => {
debug!("Error not handled: {:?}", e.kind());
String::from("UNKNOWN")
Expand Down

0 comments on commit 0a5a4c3

Please sign in to comment.