tools/tiff2pdf.c:4068: error: Null Dereference
  pointer `currenttime` last assigned on line 4065 could be null and is dereferenced at line 4068, column 5.

tools/tiff2pdf.c:4054:1: start of procedure t2p_pdf_currenttime()
4052.  */
4053. 
4054. void t2p_pdf_currenttime(T2P* t2p)
      ^
4055. {
4056. 	struct tm* currenttime;

tools/tiff2pdf.c:4059:6: Taking false branch
4057. 	time_t timenow;
4058. 
4059. 	if (time(&timenow) == (time_t) -1) {
           ^
4060. 		TIFFError(TIFF2PDF_MODULE,
4061. 			  "Can't get the current time: %s", strerror(errno));

tools/tiff2pdf.c:4065:2: 
4063. 	}
4064. 
4065. 	currenttime = localtime(&timenow);
       ^
4066. 	snprintf(t2p->pdf_datetime, sizeof(t2p->pdf_datetime),
4067. 		 "D:%.4d%.2d%.2d%.2d%.2d%.2d",

tools/tiff2pdf.c:4066:2: 
4064. 
4065. 	currenttime = localtime(&timenow);
4066. 	snprintf(t2p->pdf_datetime, sizeof(t2p->pdf_datetime),
       ^
4067. 		 "D:%.4d%.2d%.2d%.2d%.2d%.2d",
4068. 		 (currenttime->tm_year + 1900) % 65536,
