mirror of
				https://github.com/Icinga/icinga2.git
				synced 2025-11-03 21:25:56 +01:00 
			
		
		
		
	Remove an unnecessary temporary variable
This commit is contained in:
		
							parent
							
								
									5e79cb8048
								
							
						
					
					
						commit
						977ca844c7
					
				@ -205,13 +205,11 @@ DynamicObject::Ptr ConfigItem::Commit(bool discard)
 | 
				
			|||||||
		m_CommittedItems.push_back(this);
 | 
							m_CommittedItems.push_back(this);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	Dictionary::Ptr attrs = Serialize(dobj, FAConfig);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	Dictionary::Ptr persistentItem = new Dictionary();
 | 
						Dictionary::Ptr persistentItem = new Dictionary();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	persistentItem->Set("type", GetType());
 | 
						persistentItem->Set("type", GetType());
 | 
				
			||||||
	persistentItem->Set("name", GetName());
 | 
						persistentItem->Set("name", GetName());
 | 
				
			||||||
	persistentItem->Set("properties", attrs);
 | 
						persistentItem->Set("properties", Serialize(dobj, FAConfig));
 | 
				
			||||||
	persistentItem->Set("debug_hints", debugHints.ToDictionary());
 | 
						persistentItem->Set("debug_hints", debugHints.ToDictionary());
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	Array::Ptr di = new Array();
 | 
						Array::Ptr di = new Array();
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user