fix(3p/nix): Fix incorrectly braced conditionals and loops
Fixes mistakes introduced by clang-tidy in the previous commit.
This commit is contained in:
		
							parent
							
								
									b490742a51
								
							
						
					
					
						commit
						09cbc431cc
					
				
					 16 changed files with 62 additions and 61 deletions
				
			
		
							
								
								
									
										3
									
								
								third_party/nix/src/libstore/sqlite.cc
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								third_party/nix/src/libstore/sqlite.cc
									
										
									
									
										vendored
									
									
								
							|  | @ -24,9 +24,8 @@ namespace nix { | |||
|             ? fmt("SQLite database '%s' is busy (SQLITE_PROTOCOL)", path) | ||||
|             : fmt("SQLite database '%s' is busy", path)); | ||||
|   } else { | ||||
|     throw | ||||
|     throw SQLiteError("%s: %s (in '%s')", fs.s, sqlite3_errstr(exterr), path); | ||||
|   } | ||||
|   SQLiteError("%s: %s (in '%s')", fs.s, sqlite3_errstr(exterr), path); | ||||
| } | ||||
| 
 | ||||
| SQLite::SQLite(const Path& path) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue