commit 7c6ea3372de5b708ca467873af9d0a5b6ff84454
parent 6dfd3cdec7ba56fbcccdf23dffe7a3ce22a57e29
Author: Michael Forney <mforney@mforney.org>
Date: Fri, 12 Jul 2013 22:45:17 -0700
Remove some extraneous debug statements
Diffstat:
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/font.c b/font.c
@@ -36,7 +36,7 @@ struct wld_font_context * wld_font_create_context()
if (FT_Init_FreeType(&context->library) != 0)
{
- printf("failed to initialize ft library\n");
+ DEBUG("Failed to initialize FreeType library\n");
goto error1;
}
@@ -55,7 +55,7 @@ struct wld_font * wld_font_open_name(struct wld_font_context * context,
FcPattern * pattern, * match;
FcResult result;
- printf("name: %s\n", name);
+ DEBUG("Opening font with name: %s\n", name);
pattern = FcNameParse((const FcChar8 *) name);
FcConfigSubstitute(NULL, pattern, FcMatchPattern);
diff --git a/wayland-drm.c b/wayland-drm.c
@@ -97,14 +97,12 @@ static const struct wld_drm_interface * find_drm_interface(int fd)
path_part = path + strlen(path);
strcpy(path_part, "device/vendor");
- puts(path);
file = fopen(path, "r");
fgets(id, sizeof id, file);
fclose(file);
vendor_id = strtoul(id, NULL, 0);
strcpy(path_part, "device/device");
- puts(path);
file = fopen(path, "r");
fgets(id, sizeof id, file);
fclose(file);