pdf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pdf-devel] Is pdf_fsys_file_get_filesystem really necessary?


From: Hans Hohenfeld
Subject: [pdf-devel] Is pdf_fsys_file_get_filesystem really necessary?
Date: Sat, 2 Aug 2008 22:22:19 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hi,

I'm back to work after I was ill during the last few days. I hope to
finish the FS module unit test design in the next few days, it was more
work than I expected :)

While going through the FS module I stumbled upon this one

pdf_fsys_t
pdf_fsys_file_get_filesystem (pdf_fsys_file_t file)
{
  /* May be NULL if it is the default filesystem */
    return file->fs;
}

due to its enormous triviality two questions came up:

1. Is this one really needed? It's not used within the FS module, the fs
attribute of a file is always accessed directly.
2. If it stays, it doesn't need a unit test, does it?

regards,

Hans 

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]