From 168895801efb24bae31ab73d4a3faf51f2ef3d71 Mon Sep 17 00:00:00 2001
From: Abscissa <bus_github@semitwist.com>
Date: Sat, 25 Feb 2012 16:10:54 -0500
Subject: [PATCH] fix warnings

---
 characterencodings.d | 1 -
 dom.d                | 6 +++---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/characterencodings.d b/characterencodings.d
index c3a69f2..8824883 100644
--- a/characterencodings.d
+++ b/characterencodings.d
@@ -53,7 +53,6 @@ string convertToUtf8(immutable(ubyte)[] data, string dataCharacterEncoding) {
 	switch(encoding) {
 		default:
 			throw new Exception("I don't know how to convert " ~ dataCharacterEncoding ~ " to UTF-8");
-		break;
 		// since the input is immutable, these are ok too.
 		// just want to cover all the bases with one runtime function.
 		case "utf16":
diff --git a/dom.d b/dom.d
index 0305d72..3e7550d 100644
--- a/dom.d
+++ b/dom.d
@@ -1754,7 +1754,7 @@ class DocumentFragment : Element {
 	}
 
 	///.
-	string writeToAppender(Appender!string where = appender!string()) const {
+	override string writeToAppender(Appender!string where = appender!string()) const {
 		return this.innerHTML(where);
 	}
 }
@@ -1967,7 +1967,7 @@ class RawSource : Element {
 	}
 
 	///.
-	string writeToAppender(Appender!string where = appender!string()) const {
+	override string writeToAppender(Appender!string where = appender!string()) const {
 		where.put(source);
 		return source;
 	}
@@ -4402,7 +4402,7 @@ class CssStyle {
 			case "outline-left":
 			case "outline-right":
 
-			default: ;
+			default: {}
 		}
 	}