aboutsummaryrefslogtreecommitdiffstats
path: root/c/sha3sum.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/sha3sum.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/c/sha3sum.c b/c/sha3sum.c
index a03f0c2..4c93833 100644
--- a/c/sha3sum.c
+++ b/c/sha3sum.c
@@ -567,11 +567,7 @@ int main(int argc, char** argv)
char* chunk;
char* bs;
- if (((filename = *(files + f)) == null) && stdin)
- {
- printf("%s", stdin);
- continue;
- }
+ filename = *(files + f)
fn = filename ? filename : "/dev/stdin";
file = fopen(fn, "r");
if (file == null)