aboutsummaryrefslogtreecommitdiffstats
path: root/lib/percept/src/egd_font.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-05-17 14:18:09 +0200
committerBjörn-Egil Dahlberg <[email protected]>2016-05-17 14:18:09 +0200
commitbcf2da2389d1df99629ae524a4cc451bdf6224ae (patch)
treeac7e944620a158b66c6ff33fd5da5855127f2f2b /lib/percept/src/egd_font.erl
parent4690966ae8cf72b0466e3c1bbe9911ca0ea9ea74 (diff)
downloadotp-bcf2da2389d1df99629ae524a4cc451bdf6224ae.tar.gz
otp-bcf2da2389d1df99629ae524a4cc451bdf6224ae.tar.bz2
otp-bcf2da2389d1df99629ae524a4cc451bdf6224ae.zip
egd: Fix unmatched return warnings
Diffstat (limited to 'lib/percept/src/egd_font.erl')
-rw-r--r--lib/percept/src/egd_font.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/percept/src/egd_font.erl b/lib/percept/src/egd_font.erl
index 1dea63428f..ef1cc434df 100644
--- a/lib/percept/src/egd_font.erl
+++ b/lib/percept/src/egd_font.erl
@@ -74,7 +74,8 @@ load(Filename) ->
%% ETS handler functions
initialize_table() ->
- ets:new(egd_font_table, [named_table, ordered_set, public]).
+ egd_font_table = ets:new(egd_font_table, [named_table, ordered_set, public]),
+ ok.
glyph_insert(Font, Code, Translation, LSs) ->
Element = {{Font, Code}, Translation, LSs},