Skip to content

Commit

Permalink
fix unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mahbhlddnhakkh committed Mar 31, 2024
1 parent b9b2dac commit c1d5459
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/seq/kulagin_a_gauss_filter_vert/include/common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
namespace kulagin_a_gauss {
static const uint32_t default_alpha = 0x0;

inline const uint32_t& get_color(const size_t& w, const size_t& h, const uint32_t* img, const size_t& px,
inline const uint32_t& get_color(const size_t& w, const size_t&, const uint32_t* img, const size_t& px,
const size_t& py) {
return img[px + py * w];
}

inline uint32_t& get_color(const size_t& w, const size_t& h, uint32_t* img, const size_t& px, const size_t& py) {
inline uint32_t& get_color(const size_t& w, const size_t&, uint32_t* img, const size_t& px, const size_t& py) {
return img[px + py * w];
}

Expand Down

0 comments on commit c1d5459

Please sign in to comment.