File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,7 @@ class messages final : private manager<messages> {
124
124
if (ch == ' \0 ' ) break ; // End loop if null terminated.
125
125
if (ch == EOF) {
126
126
throw engine_exception (" Bad message file format!" , " Messages" , 2 );
127
+ return ;
127
128
}
128
129
sys += ch;
129
130
}
@@ -132,6 +133,7 @@ class messages final : private manager<messages> {
132
133
if (ch == ' \0 ' ) break ; // End loop if null terminated.
133
134
if (ch == EOF) {
134
135
throw engine_exception (" Bad message file format!" , " Messages" , 2 );
136
+ return ;
135
137
}
136
138
to += ch;
137
139
}
@@ -140,6 +142,7 @@ class messages final : private manager<messages> {
140
142
if (ch == ' \0 ' ) break ; // End loop if null terminated.
141
143
if (ch == EOF) {
142
144
throw engine_exception (" Bad message file format!" , " Messages" , 2 );
145
+ return ;
143
146
}
144
147
from += ch;
145
148
}
@@ -148,6 +151,7 @@ class messages final : private manager<messages> {
148
151
if (ch == ' \0 ' ) break ; // End loop if null terminated.
149
152
if (ch == EOF) {
150
153
throw engine_exception (" Bad message file format!" , " Messages" , 2 );
154
+ return ;
151
155
}
152
156
cmd += ch;
153
157
}
@@ -156,6 +160,7 @@ class messages final : private manager<messages> {
156
160
if (ch == ' \0 ' ) break ; // End loop if null terminated.
157
161
if (ch == EOF) {
158
162
throw engine_exception (" Bad message file format!" , " Messages" , 2 );
163
+ return ;
159
164
}
160
165
args += ch;
161
166
}
You can’t perform that action at this time.
0 commit comments