Commit graph

1642 commits

Author SHA1 Message Date
Homu
fc7f2c0bb1 Auto merge of #61 - matthiasbeyer:deny, r=matthiasbeyer
Turn warning into hard errors and fix them

Finally, I cleaned up a bit.

The `dead_code` warning is still disabled, though I might enable it anytime soon.
2016-01-06 01:39:47 +09:00
0bdd548eab Use unused result in test: set_logger() 2016-01-05 17:39:12 +01:00
b43a68d10a Rename some variables, so we can remove unneeded shorthand field patterns 2016-01-05 17:39:11 +01:00
8b7ab8fae1 Remove unneeded shorthand field pattern 2016-01-05 17:39:11 +01:00
ed72b8b250 Remove unneeded shorthand field pattern 2016-01-05 17:39:10 +01:00
4b489b2088 Remove unneeded shorthand field pattern 2016-01-05 17:39:10 +01:00
92d84d39e4 Remove unneeded shorthand field pattern 2016-01-05 17:39:09 +01:00
7b04d02a4a Remove unneeded shorthand field pattern 2016-01-05 17:39:09 +01:00
b2f7200b38 Remove unused import 2016-01-05 16:57:49 +01:00
29ba1464ff Remove unused import 2016-01-05 16:57:32 +01:00
afd80b39c6 Remove unused import 2016-01-05 16:57:21 +01:00
270466ab3a Add missing imports after rebase 2016-01-05 16:46:13 +01:00
35487ec9a6 Remove unneeded shorthand field pattern 2016-01-05 16:43:15 +01:00
64eee78db0 deny(non_shorthand_field_patterns) 2016-01-05 16:43:15 +01:00
20dfd661d4 Use unused return value: On glob() error, print error msg 2016-01-05 16:43:15 +01:00
fb15a57a88 Use unused return value: On error, print error 2016-01-05 16:43:15 +01:00
128fa427f8 Remove unused import 2016-01-05 16:43:15 +01:00
4f8886f3c7 Remove unused import 2016-01-05 16:43:15 +01:00
1ddbaae9e0 Use unused return values from write_all() 2016-01-05 16:43:15 +01:00
e46fb41dd2 Remove unused import 2016-01-05 16:42:14 +01:00
b00befbcaf Use unused return value by wrapping in try!() 2016-01-05 16:42:14 +01:00
0a63bc8f4d Remove unused variable 2016-01-05 16:42:14 +01:00
668811dafa Remove unused import 2016-01-05 16:42:14 +01:00
7f99ac8aac Remove unused import 2016-01-05 16:42:14 +01:00
97008e5f9b Use unused variable, print debug output 2016-01-05 16:42:14 +01:00
d14cb47bf9 Remove unneeded Keyword "mut" and unneeded variable 2016-01-05 16:42:14 +01:00
cfd16730c0 Remove unused variables 2016-01-05 16:42:14 +01:00
4036e31b35 Remove unused imports 2016-01-05 16:42:14 +01:00
a7603b1594 Remove unneeded Keyword "mut" 2016-01-05 16:42:14 +01:00
92d84482c6 Remove unused variable 2016-01-05 16:42:14 +01:00
7fbd98016d Remove unused variable 2016-01-05 16:42:14 +01:00
0b25022491 Remove unused variable 2016-01-05 16:42:14 +01:00
ee0d3e90d2 Remove unused variable 2016-01-05 16:42:14 +01:00
feb146870e Remove unused variable 2016-01-05 16:42:14 +01:00
15a64d6237 Remove unused variable 2016-01-05 16:42:14 +01:00
9f9721f227 Remove unused variable 2016-01-05 16:42:14 +01:00
25f6711904 Remove unused variable 2016-01-05 16:42:14 +01:00
192c9fd7a5 Remove unused variable 2016-01-05 16:42:14 +01:00
0c2b406cfc Remove unused variable 2016-01-05 16:42:14 +01:00
9918260f32 Remove unused variable 2016-01-05 16:42:14 +01:00
4e01a1c1eb Remove unused import 2016-01-05 16:42:14 +01:00
67fe96ef9e Remove unused import 2016-01-05 16:42:14 +01:00
ec74bc4362 Remove unused import 2016-01-05 16:42:14 +01:00
c8175df5c8 Remove unused import 2016-01-05 16:42:14 +01:00
7361f88353 Remove unused import 2016-01-05 16:42:14 +01:00
22be304a3a Use return value: ImagLogger::init() -> fail if init failed 2016-01-05 16:42:14 +01:00
b772b34837 Use return value from serialize() and print debug output on failure 2016-01-05 16:42:14 +01:00
f8d90af6d0 Remove unused import 2016-01-05 16:42:14 +01:00
2ddca14ef5 Use return value: try!() around write!() 2016-01-05 16:42:14 +01:00
e233073305 Remove unneeded Keyword "mut" 2016-01-05 16:42:14 +01:00