summary refs log tree commit diff stats
path: root/examples/htmlrefs.nim
diff options
context:
space:
mode:
authorZahary Karadjov <zahary@gmail.com>2014-02-17 00:48:10 +0200
committerZahary Karadjov <zahary@gmail.com>2014-02-17 00:48:10 +0200
commit9a41db7d7abaf92dbdef425605f68454d48b22b2 (patch)
tree309383a42d07cc62ebffca6c97f75e335dd3614e /examples/htmlrefs.nim
parentb80503814d3ad37023b27cc8b2d78aed0c10bfcb (diff)
parent5cd9b035b40f11a950d37695d75f0981b5c13fbe (diff)
downloadNim-9a41db7d7abaf92dbdef425605f68454d48b22b2.tar.gz
Merge branch 'devel' of gh:/Araq/Nimrod into devel
Diffstat (limited to 'examples/htmlrefs.nim')
-rw-r--r--examples/htmlrefs.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/htmlrefs.nim b/examples/htmlrefs.nim
index 824c1d8c7..8b668325f 100644
--- a/examples/htmlrefs.nim
+++ b/examples/htmlrefs.nim
@@ -36,7 +36,7 @@ block mainLoop:
               case x.kind
               of xmlEof: break mainLoop
               of xmlElementClose: break
-              else: nil
+              else: discard
             x.next() # skip ``xmlElementClose``
             # now we have the description for the ``a`` element
             var desc = ""