diff --git a/xtldr2/modules/fb_o/framebuf.c b/xtldr2/modules/fb_o/framebuf.c index cd8db2e..bbff477 100644 --- a/xtldr2/modules/fb_o/framebuf.c +++ b/xtldr2/modules/fb_o/framebuf.c @@ -189,7 +189,7 @@ XTCDECL VOID FbPrintDisplayInformation() { - PWCHAR DriverName; + PWCHAR DriverName = NULL; /* Make sure frame buffer is initialized */ if(!FrameBufferInfo.Initialized) @@ -203,7 +203,6 @@ FbPrintDisplayInformation() FbGetDisplayDriver(DriverName); /* Print video information */ - XtLdrProtocol->Debug.Print(L"TEST: %S\n", DriverName); XtLdrProtocol->Debug.Print(L"XTLDR Framebuffer information:\n" L" FrameBuffer Address: 0x%lx\n" L" FrameBuffer Size: %lu\n"