Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/tag.c
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill@shutemov.name>2011-08-25 15:22:57 +0400
committerKirill A. Shutemov <kirill@shutemov.name>2011-08-25 17:41:15 +0400
commit932669b8655851cc18ca109e78dfe8d71c0b31c0 (patch)
tree2a0cdabf777d541ffcaee30d57d2071dff406a1d /src/tag.c
parenta7e34e3c854aaed77ede8558ff253716bc4c80a2 (diff)
Drop STRLEN() macros
There is no need in STRLEN macros. Compilers can do this trivial optimization on its own. Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Diffstat (limited to 'src/tag.c')
-rw-r--r--src/tag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tag.c b/src/tag.c
index 1a79d92df..21bc3c726 100644
--- a/src/tag.c
+++ b/src/tag.c
@@ -388,7 +388,7 @@ typedef struct {
const char *pattern;
} tag_filter_data;
-#define GIT_REFS_TAGS_DIR_LEN STRLEN(GIT_REFS_TAGS_DIR)
+#define GIT_REFS_TAGS_DIR_LEN strlen(GIT_REFS_TAGS_DIR)
static int tag_list_cb(const char *tag_name, void *payload)
{