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

tools/tiff2pdf.c:4155:1: start of procedure t2p_pdf_currenttime()
4153.  */
4154. 
4155. void t2p_pdf_currenttime(T2P* t2p)
      ^
4156. {
4157. 	struct tm* currenttime;

tools/tiff2pdf.c:4160:6: Taking false branch
4158. 	time_t timenow;
4159. 
4160. 	if (time(&timenow) == (time_t) -1) {
           ^
4161. 		TIFFError(TIFF2PDF_MODULE,
4162. 			  "Can't get the current time: %s", strerror(errno));

tools/tiff2pdf.c:4166:2: 
4164. 	}
4165. 
4166. 	currenttime = localtime(&timenow);
       ^
4167. 	snprintf(t2p->pdf_datetime, sizeof(t2p->pdf_datetime),
4168. 		 "D:%.4d%.2d%.2d%.2d%.2d%.2d",

tools/tiff2pdf.c:4167:2: 
4165. 
4166. 	currenttime = localtime(&timenow);
4167. 	snprintf(t2p->pdf_datetime, sizeof(t2p->pdf_datetime),
       ^
4168. 		 "D:%.4d%.2d%.2d%.2d%.2d%.2d",
4169. 		 (currenttime->tm_year + 1900) % 65536,
