File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -180,35 +180,6 @@ scan_to_unichar (const char *str,
180
180
}
181
181
182
182
183
- /*
184
- *--------------------------------------------------------------------------
185
- *
186
- * last_slash --
187
- *
188
- * Scans 'str' and returns a pointer to the final '/' character, or
189
- * NULL if there is no '/'.
190
- *
191
- *--------------------------------------------------------------------------
192
- */
193
-
194
- static const char *
195
- last_unichar (const char * haystack , bson_unichar_t needle )
196
- {
197
- bson_unichar_t c ;
198
- const char * iter ;
199
- const char * last = NULL ;
200
-
201
- for (iter = haystack ; iter && * iter && (c = bson_utf8_get_char (iter ));
202
- iter = bson_utf8_next_char (iter )) {
203
- if (c == needle ) {
204
- last = iter ;
205
- }
206
- }
207
-
208
- return last ;
209
- }
210
-
211
-
212
183
/*
213
184
*--------------------------------------------------------------------------
214
185
*
You can’t perform that action at this time.
0 commit comments