#21 nsd/tcljob.c:916: error: Null Dereference pointer `queue` last assigned on line 900 could be null and is dereferenced at line 916, column 16. nsd/tcljob.c:897:1: start of procedure JobExistsObjCmd() 895. *---------------------------------------------------------------------- 896. */ 897. static int ^ 898. JobExistsObjCmd(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj *const* objv) 899. { nsd/tcljob.c:900:5: 898. JobExistsObjCmd(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj *const* objv) 899. { 900. Queue *queue = NULL; ^ 901. int result = TCL_OK; 902. char *jobIdString; nsd/tcljob.c:901:5: 899. { 900. Queue *queue = NULL; 901. int result = TCL_OK; ^ 902. char *jobIdString; 903. Ns_ObjvSpec args[] = { nsd/tcljob.c:903:5: 901. int result = TCL_OK; 902. char *jobIdString; 903. Ns_ObjvSpec args[] = { ^ 904. {"queueId", ObjvQueue, &queue, NULL}, 905. {"jobId", Ns_ObjvString, &jobIdString, NULL}, nsd/tcljob.c:909:9: Taking false branch 907. }; 908. 909. if (Ns_ParseObjv(NULL, args, interp, 2, objc, objv) != NS_OK) { ^ 910. result = TCL_ERROR; 911. nsd/tcljob.c:915:9: 913. const Tcl_HashEntry *hPtr; 914. 915. assert(queue != NULL); ^ 916. hPtr = Tcl_FindHashEntry(&queue->jobs, jobIdString); 917. (void)ReleaseQueue(queue, NS_FALSE); nsd/tcljob.c:916:9: 914. 915. assert(queue != NULL); 916. hPtr = Tcl_FindHashEntry(&queue->jobs, jobIdString); ^ 917. (void)ReleaseQueue(queue, NS_FALSE); 918. Tcl_SetObjResult(interp, Tcl_NewBooleanObj(hPtr != NULL));