Cancel previous change

This commit is contained in:
computezrmle 2022-07-31 21:20:03 +02:00 committed by GitHub
parent 57d6556b9e
commit 5b44ed2e60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -661,7 +661,7 @@ int VBOX_BASE::get_scratch_directory(string& dir) {
int VBOX_BASE::get_slot_directory(string& dir) { int VBOX_BASE::get_slot_directory(string& dir) {
char slot_dir[256]; char slot_dir[256];
if (getcwd(slot_dir, sizeof(slot_dir))) {;} getcwd(slot_dir, sizeof(slot_dir));
dir = slot_dir; dir = slot_dir;
if (!dir.empty()) { if (!dir.empty()) {