Skip to content

Commit

Permalink
remove some debug traces
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Jun 7, 2015
1 parent 21d6c16 commit c70f931
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/tbox/platform/posix/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,11 @@ tb_file_ref_t tb_file_init(tb_char_t const* path, tb_size_t mode)
// check
tb_assert_and_check_return_val(path, tb_null);

tb_trace_i("init: %s", path);

// the full path
tb_char_t full[TB_PATH_MAXN];
path = tb_path_absolute(path, full, TB_PATH_MAXN);
tb_assert_and_check_return_val(path, tb_null);

tb_trace_i("%s %s", path, full);

// flags
tb_size_t flags = 0;
if (mode & TB_FILE_MODE_RO) flags |= O_RDONLY;
Expand Down

0 comments on commit c70f931

Please sign in to comment.