comparison src/uninstal.c @ 2520:6768ebd0bc04 vim73

Remove unused code.
author Bram Moolenaar <bram@vim.org>
date Sun, 08 Aug 2010 16:38:42 +0200
parents 7d1044b27eb5
children 05b88224cea1
comparison
equal deleted inserted replaced
2519:a76416990f54 2520:6768ebd0bc04
284 } 284 }
285 } 285 }
286 } 286 }
287 #endif 287 #endif
288 288
289 #if 0 /* currently not used */
290 /*
291 * Return TRUE when we're on Windows 95/98/ME.
292 */
293 static int
294 win95(void)
295 {
296 static int done = FALSE;
297 static DWORD PlatformId;
298
299 if (!done)
300 {
301 OSVERSIONINFO ovi;
302
303 ovi.dwOSVersionInfoSize = sizeof(ovi);
304 GetVersionEx(&ovi);
305 PlatformId = ovi.dwPlatformId;
306 done = TRUE;
307 }
308 /* Win NT/2000/XP is VER_PLATFORM_WIN32_NT */
309 return PlatformId == VER_PLATFORM_WIN32_WINDOWS;
310 }
311 #endif
312
313 static void 289 static void
314 delete_uninstall_key(void) 290 delete_uninstall_key(void)
315 { 291 {
316 #ifdef WIN3264 292 #ifdef WIN3264
317 reg_delete_key(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Vim " VIM_VERSION_SHORT); 293 reg_delete_key(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Vim " VIM_VERSION_SHORT);