view Python/getplatform.c @ 36858:7fac5d79d043 legacy-trunk

Try to cleanup the error handling a bit so there aren't false positives from static analysis. v was already checked for NULL above, so we don't need a second check.
author Neal Norwitz <nnorwitz@gmail.com>
date Mon, 06 Mar 2006 23:07:34 +0000
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

const char *
Py_GetPlatform(void)
{
	return PLATFORM;
}