Merge pull request from WebFreak001/fix-warns

Fix warnings in simpledisplay & nanovega blocking dub builds
This commit is contained in:
Adam D. Ruppe 2018-02-27 12:33:14 -05:00 committed by GitHub
commit 6b0ad21795
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -9213,7 +9213,7 @@ public int fonsAddFont (FONScontext* stash, const(char)[] name, const(char)[] pa
} catch (Exception e) { } catch (Exception e) {
// oops; sorry // oops; sorry
} }
return FONS_INVALID; //return FONS_INVALID;
} }
// first try direct path // first try direct path

View File

@ -1134,9 +1134,9 @@ TrueColorImage trueColorImageFromNativeHandle(NativeWindowHandle handle, int wid
// I just need to BitBlt that shit... BUT WAIT IT IS ALREADY IN A DIB!!!!!!! // I just need to BitBlt that shit... BUT WAIT IT IS ALREADY IN A DIB!!!!!!!
} else static assert(0); } else static assert(0);
}
return null; return null;
}
} }
/++ /++