From 6db8697910438fd063598f66a73b68d2dcd70a36 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 30 Jan 2020 20:17:37 +0900 Subject: Removed explicit usage of the 'register' keyword. Signed-off-by: Michele Calgaro --- noatun/modules/kjofol-skin/kjwidget.cpp | 2 +- noatun/modules/kjofol-skin/kjwidget.h | 2 +- noatun/modules/winskin/vis/realFFT.cpp | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'noatun/modules') diff --git a/noatun/modules/kjofol-skin/kjwidget.cpp b/noatun/modules/kjofol-skin/kjwidget.cpp index 737032cf..25aa2d48 100644 --- a/noatun/modules/kjofol-skin/kjwidget.cpp +++ b/noatun/modules/kjofol-skin/kjwidget.cpp @@ -18,7 +18,7 @@ KJWidget::KJWidget(KJLoader *p) : mParent(p) { } -TQBitmap KJWidget::getMask(const TQImage &_rect, register TQRgb transparent) +TQBitmap KJWidget::getMask(const TQImage &_rect, TQRgb transparent) { TQImage result(_rect.width(), _rect.height(), 1,2, TQImage::LittleEndian); result.setColor(1, tqRgb(0,0,0)); diff --git a/noatun/modules/kjofol-skin/kjwidget.h b/noatun/modules/kjofol-skin/kjwidget.h index f64d2226..5f1edcac 100644 --- a/noatun/modules/kjofol-skin/kjwidget.h +++ b/noatun/modules/kjofol-skin/kjwidget.h @@ -31,7 +31,7 @@ public: virtual TQString tip() { return 0; } public: - static TQBitmap getMask(const TQImage &color, register TQRgb=tqRgb(255,0,255)); + static TQBitmap getMask(const TQImage &color, TQRgb=tqRgb(255,0,255)); protected: const TQString &backgroundPressed(const TQString &bmp) const; diff --git a/noatun/modules/winskin/vis/realFFT.cpp b/noatun/modules/winskin/vis/realFFT.cpp index 330280ea..4474df2d 100644 --- a/noatun/modules/winskin/vis/realFFT.cpp +++ b/noatun/modules/winskin/vis/realFFT.cpp @@ -51,7 +51,7 @@ RealFFT::RealFFT(int fftlen) { for(i=0;i32767.5) s=32767; @@ -102,8 +102,8 @@ void RealFFT::fft(short* buffer) { while(A