xselinux: warning fix
../Xext/xselinux_ext.c: In function ‘SELinuxExtensionInit’: ../Xext/xselinux_ext.c:692:21: warning: variable ‘extEntry’ set but not used [-Wunused-but-set-variable] Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
		
							parent
							
								
									f4115bcc8c
								
							
						
					
					
						commit
						047794e350
					
				|  | @ -689,8 +689,6 @@ SELinuxResetProc(ExtensionEntry * extEntry) | |||
| void | ||||
| SELinuxExtensionInit(void) | ||||
| { | ||||
|     ExtensionEntry *extEntry; | ||||
| 
 | ||||
|     /* Check SELinux mode on system, configuration file, and boolean */ | ||||
|     if (!is_selinux_enabled()) { | ||||
|         LogMessage(X_INFO, "SELinux: Disabled on system\n"); | ||||
|  | @ -710,8 +708,7 @@ SELinuxExtensionInit(void) | |||
|     SELinuxFlaskInit(); | ||||
| 
 | ||||
|     /* Add extension to server */ | ||||
|     extEntry = AddExtension(SELINUX_EXTENSION_NAME, | ||||
|                             SELinuxNumberEvents, SELinuxNumberErrors, | ||||
|                             ProcSELinuxDispatch, SProcSELinuxDispatch, | ||||
|                             SELinuxResetProc, StandardMinorOpcode); | ||||
|     AddExtension(SELINUX_EXTENSION_NAME, SELinuxNumberEvents, | ||||
|                  SELinuxNumberErrors, ProcSELinuxDispatch, | ||||
|                  SProcSELinuxDispatch, SELinuxResetProc, StandardMinorOpcode); | ||||
| } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue