Skip to content

Commit

Permalink
asn1: Clean up as suggested by tidier
Browse files Browse the repository at this point in the history
  • Loading branch information
kostis authored and bjorng committed Feb 16, 2010
1 parent c40e8d0 commit 37b274d
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 89 deletions.
6 changes: 3 additions & 3 deletions lib/asn1/src/asn1ct_gen.erl
Expand Up @@ -20,7 +20,7 @@
-module(asn1ct_gen).

-include("asn1_records.hrl").
%%-compile(export_all).

-export([pgen_exports/3,
pgen_hrl/4,
gen_head/3,
Expand Down Expand Up @@ -1301,8 +1301,8 @@ put_chars(undefined,X) ->
put_chars(Y,X) ->
io:put_chars(Y,X).

fopen(F, Mode) ->
case file:open(F, Mode) of
fopen(F, ModeList) ->
case file:open(F, ModeList) of
{ok, Fd} ->
Fd;
{error, Reason} ->
Expand Down

0 comments on commit 37b274d

Please sign in to comment.