mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Remove some obsolete C++ FFI calls
This commit is contained in:
parent
5d299d21a1
commit
d1e3de7c8a
1 changed files with 0 additions and 9 deletions
|
@ -1454,15 +1454,6 @@ pub fn fish_setlocale() {
|
|||
);
|
||||
}
|
||||
PROFILING_ACTIVE.store(true);
|
||||
|
||||
// Until no C++ code uses the variables init in the C++ version of fish_setlocale(), we need to
|
||||
// also call that one or otherwise we'll segfault trying to read those uninit values.
|
||||
extern "C" {
|
||||
fn fish_setlocale_ffi();
|
||||
}
|
||||
unsafe {
|
||||
fish_setlocale_ffi();
|
||||
}
|
||||
}
|
||||
|
||||
/// Test if the character can be encoded using the current locale.
|
||||
|
|
Loading…
Reference in a new issue