Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
sdottaka committed Sep 17, 2023
1 parent 5a32fbd commit 1591109
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions Src/CompareEngines/Wrap_DiffUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

namespace CompareEngines
{
static void CopyTextStats(const file_data * inf, FileTextStats * myTextStats);

/**
* @brief Default constructor.
Expand Down Expand Up @@ -252,17 +251,6 @@ bool DiffUtils::Diff2Files(struct change ** diffs, DiffFileData *diffData,
return m_pDiffWrapper->Diff2Files(diffs, diffData, bin_status, bin_file);
}

/**
* @brief Copy text stat results from diffutils back into the FileTextStats structure
*/
static void CopyTextStats(const file_data * inf, FileTextStats * myTextStats)
{
myTextStats->ncrlfs = inf->count_crlfs;
myTextStats->ncrs = inf->count_crs;
myTextStats->nlfs = inf->count_lfs;
myTextStats->nzeros = inf->count_zeros;
}

/**
* @brief Return diff counts for last compare.
* @param [out] diffs Count of real differences.
Expand Down

0 comments on commit 1591109

Please sign in to comment.