Commit 68f9af28f2116b1810ffcc3c95c48096db7663ec

ckolivas 2012-10-17T09:35:29

Get rid of unused warning for !scrypt.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/scrypt.h b/scrypt.h
index a5efb10..775b50f 100644
--- a/scrypt.h
+++ b/scrypt.h
@@ -16,7 +16,7 @@ static inline bool scrypt_test(__maybe_unused unsigned char *pdata,
 	return false;
 }
 
-static inline void scrypt_outputhash(struct work *work)
+static inline void scrypt_outputhash(__maybe_unused struct work *work)
 {
 }
 #endif /* USE_SCRYPT */