summaryrefslogtreecommitdiff
path: root/src/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/buffer.h b/src/buffer.h
index fc8fe1400..6b717d2e9 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -219,9 +219,4 @@ int git_buf_splice(
const char *data,
size_t nb_to_insert);
-/* warning: this will wreck your buf contents */
-#define git_buf_foreach_line(line_start, line_end, line_num, buf) \
- while (((line_start) = git__strsep(&(buf)->ptr, "\n")) != NULL && \
- ((line_end) = (line_start) + strlen((line_start))) != NULL && ++(line_num))
-
#endif