[svn-r15889] When comparing individual objects the file graph is not currently compared, so make h5diff return 0 (no diffrences)

Tested: windows, linux
This commit is contained in:
Pedro Vicente Nunes
2008-10-16 11:00:37 -05:00
parent b195e33d3f
commit 12e3697d79
2 changed files with 4 additions and 4 deletions

View File

@@ -67,6 +67,9 @@ void parse_command_line(int argc,
/* process the command-line */
memset(options, 0, sizeof (diff_opt_t));
/* assume equal contents initially */
options->contents = 1;
/* parse command line options */
while ((opt = get_option(argc, argv, s_opts, l_opts)) != EOF)
{

View File

@@ -446,10 +446,7 @@ hsize_t diff_match(hid_t file1_id,
* in file1 must be the same as in file2
*-------------------------------------------------------------------------
*/
/* assume equal contents initially */
options->contents = 1;
/* number of different objects */
if ( info1->nused != info2->nused )
{