Skip to content

Commit 372a358

Browse files
Fix missing semicolons
1 parent dd2435c commit 372a358

File tree

1 file changed

+3
-3
lines changed
  • pandas/_libs/src/parser

1 file changed

+3
-3
lines changed

pandas/_libs/src/parser/io.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ void *new_file_source(char *fname, size_t buffer_size) {
4242
int required = MultiByteToWideChar(CP_UTF8, 0, fname, -1, NULL, 0);
4343
if (required == 0) {
4444
free(fs);
45-
PyErr_SetFromWindowsErr(GetLastError())
45+
PyErr_SetFromWindowsErr(GetLastError());
4646
return NULL;
4747
}
4848
wname = (wchar_t*)malloc(required * sizeof(wchar_t));
@@ -55,7 +55,7 @@ void *new_file_source(char *fname, size_t buffer_size) {
5555
required) {
5656
free(wname);
5757
free(fs);
58-
PyErr_SetFromWindowsErr(GetLastError())
58+
PyErr_SetFromWindowsErr(GetLastError());
5959
return NULL;
6060
}
6161
fs->fd = _wopen(wname, O_RDONLY | O_BINARY);
@@ -67,7 +67,7 @@ void *new_file_source(char *fname, size_t buffer_size) {
6767
if (fs->fd == -1) {
6868
free(fs);
6969
#ifdef USE_WIN_UTF16
70-
PyErr_SetFromWindowsErr(GetLastError())
70+
PyErr_SetFromWindowsErr(GetLastError());
7171
#else
7272
PyErr_SetFromErrnoWithFilename(PyExc_OSError, fname);
7373
#endif

0 commit comments

Comments
 (0)