reqs: Fix CID 1130972 - remove logically dead code.
url == NULL is caught above.
Found by coverity.
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit c82840bfcb)
			
			
This commit is contained in:
		
							parent
							
								
									4ebb3c1bb6
								
							
						
					
					
						commit
						e467744134
					
				@ -357,15 +357,6 @@ BAD_REQUEST_ERROR:
 | 
			
		||||
                goto fail;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (!url) {
 | 
			
		||||
                log_message (LOG_ERR,
 | 
			
		||||
                             "process_request: Null URL on file descriptor %d",
 | 
			
		||||
                             connptr->client_fd);
 | 
			
		||||
                indicate_http_error (connptr, 400, "Bad Request",
 | 
			
		||||
                                     "detail", "Request has an empty URL",
 | 
			
		||||
                                     "url", url, NULL);
 | 
			
		||||
                goto fail;
 | 
			
		||||
        }
 | 
			
		||||
#ifdef REVERSE_SUPPORT
 | 
			
		||||
        if (config.reversepath_list != NULL) {
 | 
			
		||||
                /*
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user