summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Wey2011-05-29 20:07:16 +0200
committerMike Wey2011-05-29 20:07:16 +0200
commit7ad59892863ed44bbb53f23057a60b210d9ef7d4 (patch)
treebd68481fc63ac917efbb2f04bd162d2b58b50b1e
parent883ec13276c78b8e2b055a219e45bf348b4c397c (diff)
The is initialized check isn't needed
-rw-r--r--dmagick/Image.d7
1 files changed, 0 insertions, 7 deletions
diff --git a/dmagick/Image.d b/dmagick/Image.d
index 52f6a46..6deb289 100644
--- a/dmagick/Image.d
+++ b/dmagick/Image.d
@@ -1635,20 +1635,13 @@ class Image
*/
version (Windows)
{
- private bool isInitialized = false;
-
static this
{
- if ( !isInitialized )
- {
MagickCoreGenesis(toStringz(Runtime.args[0]) , false);
- isInitialized = true;
- }
}
static ~this
{
- if ( isInitialized )
MagickCoreTerminus();
}
}