Upgrade hope to 4.0.0, which uses empty tuple as unit
[beam_stats.git] / src / beam_stats_consumer_csv.erl
index 6b27106..8380b95 100644 (file)
@@ -49,8 +49,7 @@ consume(Q, #state{}=State1) ->
 -spec terminate(state()) ->
     {}.
 terminate(#state{file=FileOpt}) ->
-    ok = hope_option:iter(FileOpt, fun file:close/1),
-    {}.
+    hope_option:iter(FileOpt, fun file:close/1).
 
 %% ============================================================================
 
This page took 0.018434 seconds and 4 git commands to generate.