[PATCH] fix warning in tdfxfb.c

Steven Walter (srwalter@yahoo.com)
Sat, 16 Jun 2001 13:12:37 -0500


This patch is obviously correct. It doesn't appear that tdfxfb has a
maintainer, so I'm sending this patch to the list. Nothing
earth-shattering, it just removes a warning during build.
-- 
-Steven
In a time of universal deceit, telling the truth is a revolutionary act.
			-- George Orwell

--- tdfxfb.c~ Sat Jun 16 13:09:08 2001 +++ tdfxfb.c Sat Jun 16 13:09:21 2001 @@ -1892,7 +1892,7 @@ ((pdev->device == PCI_DEVICE_ID_3DFX_BANSHEE) || (pdev->device == PCI_DEVICE_ID_3DFX_VOODOO3) || (pdev->device == PCI_DEVICE_ID_3DFX_VOODOO5))) { - char *name; + char *name = NULL; fb_info.dev = pdev->device; switch (pdev->device) { - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/