Browse Source

Remove unnecessary change

This was accidentally added, it was a change I made whilst testing.
Ronald 1 year ago
parent
commit
c768d0719a
1 changed files with 1 additions and 4 deletions
  1. 1 4
      core/encoding/ini/ini.odin

+ 1 - 4
core/encoding/ini/ini.odin

@@ -113,10 +113,7 @@ load_map_from_string :: proc(src: string, allocator: runtime.Allocator, options
 			new_key = strings.to_lower(key) or_return
 			delete(old_key) or_return
 		}
-		pairs[new_key], err = unquote(value)
-		if err != nil {
-			return
-		}
+		pairs[new_key], err = unquote(value) or_return
 	}
 	return
 }