Skip to content

Commit 3102c94

Browse files
committed
UPDATED: Tidy code
1 parent 72c4621 commit 3102c94

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ endif()
279279

280280

281281
# Is libcurl available?
282+
# Note -- linking to libcurl seems to impart a small performance hit, even if it is not used?
282283
find_package(CURL)
283284
if (CURL_FOUND)
284285
add_definitions(-DUSE_CURL)

src/export/textbundle.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,6 @@ static void update_figure(mmd_node * b, text_buffer * source, read_ctx * r, long
9898

9999
while (content) {
100100
if (content->type == TOKEN_PAIR_PAREN) {
101-
int pos = (int) (b->start + *offset + content->start);
102-
int len = (int) (content->next->start - content->start);
103-
fprintf(stderr, "figure URL '%.*s'\n", len, &source->text[pos]);
104-
105101
char * url = &source->text[b->start + *offset + content->start + 1];
106102

107103
while (char_is_whitespace(*url)) {

0 commit comments

Comments
 (0)