Permalink
Browse files

TS-1820 Remove more NOWARN usages.

This commit also eliminates all of mgmt/tools, which was
used for "network management" in e.g. traffic_shell.
  • Loading branch information...
1 parent 14ac18b commit cf21050a905faffb0974c8f97a56c0aaa7574467 @zwoop zwoop committed Jul 13, 2013
Showing with 581 additions and 5,255 deletions.
  1. +0 −1 configure.ac
  2. +1 −2 iocore/aio/AIO.cc
  3. +18 −33 iocore/cache/Cache.cc
  4. +3 −11 iocore/cache/CacheDir.cc
  5. +4 −10 iocore/cache/CacheDisk.cc
  6. +4 −8 iocore/cache/CacheHosting.cc
  7. +2 −6 iocore/cache/CacheLink.cc
  8. +6 −24 iocore/cache/CacheRead.cc
  9. +1 −2 iocore/cache/CacheTest.cc
  10. +5 −18 iocore/cache/CacheVol.cc
  11. +0 −3 iocore/cache/CacheWrite.cc
  12. +3 −5 iocore/cache/P_CacheInternal.h
  13. +46 −17 iocore/cache/RamCacheCLFUS.cc
  14. +1 −3 iocore/cluster/ClusterAPI.cc
  15. +10 −24 iocore/cluster/ClusterCache.cc
  16. +6 −46 iocore/cluster/ClusterConfig.cc
  17. +1 −2 iocore/cluster/ClusterHandler.cc
  18. +4 −9 iocore/cluster/ClusterHandlerBase.cc
  19. +1 −3 iocore/cluster/ClusterLib.cc
  20. +1 −4 iocore/cluster/ClusterLoadMonitor.cc
  21. +3 −3 iocore/cluster/ClusterProcessor.cc
  22. +5 −10 iocore/cluster/ClusterRPC.cc
  23. +5 −15 iocore/cluster/ClusterVConnection.cc
  24. +6 −23 iocore/cluster/P_ClusterCache.h
  25. +5 −11 iocore/dns/DNS.cc
  26. +1 −2 iocore/dns/SplitDNS.cc
  27. +7 −14 iocore/eventsystem/P_UnixSocketManager.h
  28. +1 −2 iocore/eventsystem/Processor.cc
  29. +16 −31 iocore/hostdb/HostDB.cc
  30. +1 −1 iocore/net/P_UDPNet.h
  31. +1 −1 iocore/net/P_UnixNet.h
  32. +1 −1 iocore/net/P_UnixNetProcessor.h
  33. +2 −2 iocore/net/P_UnixNetVConnection.h
  34. +3 −6 iocore/net/SSLUtils.cc
  35. +3 −6 iocore/net/UnixNet.cc
  36. +2 −5 iocore/net/UnixNetProcessor.cc
  37. +2 −5 iocore/net/UnixUDPNet.cc
  38. +0 −1 lib/records/P_RecUtils.h
  39. +2 −24 lib/records/RecCore.cc
  40. +0 −3 lib/records/RecLocal.cc
  41. +0 −24 lib/records/RecMessage.cc
  42. +3 −19 lib/records/RecProcess.cc
  43. +2 −9 lib/records/test_I_RecLocal.cc
  44. +3 −14 lib/records/test_RecProcess.i
  45. +1 −4 lib/records/test_RecTree.cc
  46. +0 −3 lib/ts/ink_defs.h
  47. +2 −6 mgmt/LocalManager.cc
  48. +3 −5 mgmt/Main.cc
  49. +1 −3 mgmt/Makefile.am
  50. +1 −2 mgmt/ProcessManager.cc
  51. +1 −3 mgmt/ProxyConfig.cc
  52. +3 −8 mgmt/api/CoreAPI.cc
  53. +1 −2 mgmt/api/CoreAPIShared.cc
  54. +1 −2 mgmt/api/EventControlMain.cc
  55. +2 −4 mgmt/api/GenericParser.cc
  56. +5 −124 mgmt/api/INKMgmtAPI.cc
  57. +1 −3 mgmt/api/TSControlMain.cc
  58. +0 −32 mgmt/api/include/mgmtapi.h
  59. +1 −3 mgmt/api/remote/APITestCliRemote.cc
  60. +1 −3 mgmt/api/remote/CoreAPIRemote.cc
  61. +1 −2 mgmt/api/remote/NetworkUtilsRemote.cc
  62. +0 −17 mgmt/cli/CliCreateCommands.cc
  63. +2 −259 mgmt/cli/ConfigCmd.cc
  64. +0 −21 mgmt/cli/ConfigCmd.h
  65. +1 −3 mgmt/cli/Makefile.am
  66. +24 −130 mgmt/cli/ShowCmd.cc
  67. +0 −1 mgmt/cli/ShowCmd.h
  68. +1 −2 mgmt/cli/TrafficLine.cc
  69. +1 −2 mgmt/cli/UtilCmds.cc
  70. +1 −6 mgmt/cli/cliMain.cc
  71. +1 −2 mgmt/cli/cliParseArg.cc
  72. +1 −2 mgmt/cli/hashtable.cc
  73. +1 −2 mgmt/cli/processArgument.cc
  74. +2 −4 mgmt/cluster/ClusterCom.cc
  75. +1 −3 mgmt/cluster/VMap.cc
  76. +0 −1 mgmt/preparse/IPRange.cc
  77. +3 −9 mgmt/stats/StatProcessor.cc
  78. +0 −1,268 mgmt/tools/ConfigAPI.cc
  79. +0 −85 mgmt/tools/ConfigAPI.h
  80. +0 −39 mgmt/tools/Makefile.am
  81. +0 −1,981 mgmt/tools/SysAPI.cc
  82. +0 −75 mgmt/tools/SysAPI.h
  83. +3 −5 mgmt/utils/WebMgmtUtils.cc
  84. +1 −2 mgmt/utils/XmlUtils.cc
  85. +0 −1 mgmt/web2/Makefile.am
  86. +2 −7 mgmt/web2/WebHttp.cc
  87. +1 −2 mgmt/web2/WebHttpSession.cc
  88. +2 −5 mgmt/web2/WebIntrMain.cc
  89. +4 −11 proxy/CacheControl.cc
  90. +2 −4 proxy/DiagsConfig.cc
  91. +1 −2 proxy/Error.cc
  92. +11 −24 proxy/ICP.cc
  93. +3 −6 proxy/ICP.h
  94. +8 −19 proxy/ICPConfig.cc
  95. +0 −2 proxy/Initialize.cc
  96. +58 −115 proxy/InkAPITest.cc
  97. +4 −8 proxy/InkAPITestTool.cc
  98. +5 −14 proxy/Main.cc
  99. +2 −3 proxy/ParentSelection.cc
  100. +1 −2 proxy/Plugin.cc
  101. +5 −13 proxy/PluginVC.cc
  102. +7 −18 proxy/Prefetch.cc
  103. +9 −19 proxy/RegressionSM.cc
  104. +5 −15 proxy/ReverseProxy.cc
  105. +4 −6 proxy/Show.h
  106. +1 −2 proxy/StatPages.cc
  107. +1 −1 proxy/StatPages.h
  108. +8 −14 proxy/StatSystem.cc
  109. +6 −11 proxy/Transform.cc
  110. +11 −26 proxy/UglyLogStubs.cc
  111. +13 −21 proxy/Update.cc
  112. +4 −4 proxy/Update.h
  113. +4 −10 proxy/congest/Congestion.cc
  114. +3 −10 proxy/congest/CongestionDB.cc
  115. +9 −15 proxy/congest/CongestionTest.cc
  116. +2 −5 proxy/hdrs/HTTP.cc
  117. +1 −3 proxy/hdrs/HdrTest.cc
  118. +5 −10 proxy/hdrs/MIME.cc
  119. +1 −2 proxy/hdrs/URL.cc
  120. +2 −4 proxy/http/HttpBodyFactory.cc
  121. +1 −2 proxy/http/HttpClientSession.cc
  122. +4 −11 proxy/http/HttpConfig.cc
  123. +1 −1 proxy/http/HttpConnectionCount.h
  124. +3 −7 proxy/http/HttpPages.cc
  125. +15 −37 proxy/http/HttpSM.cc
  126. +2 −5 proxy/http/HttpSessionManager.cc
  127. +21 −46 proxy/http/HttpTransact.cc
  128. +8 −10 proxy/http/HttpTransact.h
  129. +0 −2 proxy/http/HttpTransactCache.cc
  130. +4 −6 proxy/http/HttpTransactHeaders.cc
  131. +1 −2 proxy/http/HttpTransactHeaders.h
  132. +1 −2 proxy/http/HttpUpdateSM.cc
  133. +1 −2 proxy/http/HttpUpdateTester.cc
  134. +2 −2 proxy/http/remap/UrlMappingPathIndex.h
  135. +15 −26 proxy/logging/Log.cc
  136. +4 −9 proxy/logging/LogAccess.cc
  137. +10 −12 proxy/logging/LogCollationClientSM.cc
  138. +5 −11 proxy/logging/LogCollationHostSM.cc
  139. +4 −9 proxy/logging/LogConfig.cc
  140. +3 −4 proxy/logging/LogFieldAliasMap.h
  141. +3 −6 proxy/logging/LogObject.cc
  142. +1 −1 proxy/logging/LogObject.h
  143. +3 −6 proxy/logging/LogStandalone.cc
  144. +1 −2 proxy/logging/LogUtils.cc
  145. +4 −9 proxy/signals.cc
View
@@ -1844,7 +1844,6 @@ AC_CONFIG_FILES([
mgmt/cluster/Makefile
mgmt/preparse/Makefile
mgmt/stats/Makefile
- mgmt/tools/Makefile
mgmt/utils/Makefile
mgmt/web2/Makefile
plugins/Makefile
View
@@ -63,9 +63,8 @@ uint64_t aio_bytes_written = 0;
*/
static int
-aio_stats_cb(const char *name, RecDataT data_type, RecData *data, RecRawStatBlock *rsb, int id)
+aio_stats_cb(const char * /* name ATS_UNUSED */, RecDataT data_type, RecData *data, RecRawStatBlock *rsb, int id)
{
- NOWARN_UNUSED(name);
(void) data_type;
(void) rsb;
int64_t new_val = 0;
View
@@ -293,12 +293,9 @@ validate_rww(int new_value)
}
static int
-update_cache_config(const char *name, RecDataT data_type, RecData data, void *cookie)
+update_cache_config(const char * /* name ATS_UNUSED */, RecDataT /* data_type ATS_UNUSED */, RecData data,
+ void * /* cookie ATS_UNUSED */)
{
- NOWARN_UNUSED(name);
- NOWARN_UNUSED(data_type);
- NOWARN_UNUSED(cookie);
-
volatile int new_value = validate_rww(data.rec_int);
cache_config_read_while_writer = new_value;
@@ -1990,8 +1987,7 @@ Cache::open_done() {
}
int
-Cache::open(bool clear, bool fix) {
- NOWARN_UNUSED(fix);
+Cache::open(bool clear, bool /* fix ATS_UNUSED */) {
int i;
off_t blocks = 0;
cache_read_done = 0;
@@ -2046,9 +2042,7 @@ Cache::close() {
}
int
-CacheVC::dead(int event, Event *e) {
- NOWARN_UNUSED(e);
- NOWARN_UNUSED(event);
+CacheVC::dead(int /* event ATS_UNUSED */, Event * /*e ATS_UNUSED */) {
ink_assert(0);
return EVENT_DONE;
}
@@ -2079,8 +2073,7 @@ static void unmarshal_helper(Doc *doc, Ptr<IOBufferData> &buf, int &okay) {
#endif
int
-CacheVC::handleReadDone(int event, Event *e) {
- NOWARN_UNUSED(e);
+CacheVC::handleReadDone(int event, Event * /* e ATS_UNUSED */) {
cancel_trigger();
ink_assert(this_ethread() == mutex->thread_holding);
@@ -2097,7 +2090,9 @@ CacheVC::handleReadDone(int event, Event *e) {
if ((!dir_valid(vol, &dir)) || (!io.ok())) {
if (!io.ok()) {
Debug("cache_disk_error", "Read error on disk %s\n \
- read range : [%" PRIu64 " - %" PRIu64 " bytes] [%" PRIu64 " - %" PRIu64 " blocks] \n", vol->hash_id, (uint64_t)io.aiocb.aio_offset, (uint64_t)io.aiocb.aio_offset + io.aiocb.aio_nbytes, (uint64_t)io.aiocb.aio_offset / 512, (uint64_t)(io.aiocb.aio_offset + io.aiocb.aio_nbytes) / 512);
+ read range : [%" PRIu64 " - %" PRIu64 " bytes] [%" PRIu64 " - %" PRIu64 " blocks] \n",
+ vol->hash_id, (uint64_t)io.aiocb.aio_offset, (uint64_t)io.aiocb.aio_offset + io.aiocb.aio_nbytes,
+ (uint64_t)io.aiocb.aio_offset / 512, (uint64_t)(io.aiocb.aio_offset + io.aiocb.aio_nbytes) / 512);
}
goto Ldone;
}
@@ -2119,15 +2114,14 @@ CacheVC::handleReadDone(int event, Event *e) {
if (is_debug_tag_set("cache_read")) {
char xt[33];
- Debug("cache_read"
- , "Read complete on fragment %s. Length: data payload=%d this fragment=%d total doc=%" PRId64" prefix=%d"
- , doc->key.toHexStr(xt), doc->data_len(), doc->len, doc->total_len, doc->prefix_len()
- );
+ Debug("cache_read",
+ "Read complete on fragment %s. Length: data payload=%d this fragment=%d total doc=%" PRId64" prefix=%d",
+ doc->key.toHexStr(xt), doc->data_len(), doc->len, doc->total_len, doc->prefix_len());
}
// put into ram cache?
- if (io.ok() &&
- ((doc->first_key == *read_key) || (doc->key == *read_key) || STORE_COLLISION) && doc->magic == DOC_MAGIC) {
+ if (io.ok() && ((doc->first_key == *read_key) || (doc->key == *read_key) || STORE_COLLISION) &&
+ doc->magic == DOC_MAGIC) {
int okay = 1;
if (!f.doc_from_ram_cache)
f.not_from_ram_cache = 1;
@@ -2151,7 +2145,7 @@ CacheVC::handleReadDone(int event, Event *e) {
int indx;
do {
indx = vol->interim_index++ % vol->num_interim_vols;
- }while (good_interim_disks > 0 && DISK_BAD(vol->interim_vols[indx].disk));
+ } while (good_interim_disks > 0 && DISK_BAD(vol->interim_vols[indx].disk));
if (good_interim_disks) {
if (f.write_into_interim) {
@@ -2259,10 +2253,8 @@ CacheVC::handleReadDone(int event, Event *e) {
int
-CacheVC::handleRead(int event, Event *e)
+CacheVC::handleRead(int /* event ATS_UNUSED */, Event * /* e ATS_UNUSED */)
{
- NOWARN_UNUSED(event);
- NOWARN_UNUSED(e);
cancel_trigger();
f.doc_from_ram_cache = false;
@@ -2408,11 +2400,8 @@ Cache::lookup(Continuation *cont, CacheURL *url, CacheFragType type)
#endif
int
-CacheVC::removeEvent(int event, Event *e)
+CacheVC::removeEvent(int /* event ATS_UNUSED */, Event * /* e ATS_UNUSED */)
{
- NOWARN_UNUSED(e);
- NOWARN_UNUSED(event);
-
cancel_trigger();
set_io_not_in_progress();
{
@@ -2486,13 +2475,9 @@ CacheVC::removeEvent(int event, Event *e)
}
Action *
-Cache::remove(Continuation *cont, CacheKey *key, CacheFragType type,
- bool user_agents, bool link,
- char *hostname, int host_len)
+Cache::remove(Continuation *cont, CacheKey *key, CacheFragType type, bool /* user_agents ATS_UNUSED */,
+ bool /* link ATS_UNUSED */, char *hostname, int host_len)
{
- NOWARN_UNUSED(user_agents);
- NOWARN_UNUSED(link);
-
if (!CACHE_READY(type)) {
if (cont)
cont->handleEvent(CACHE_EVENT_REMOVE_FAILED, 0);
View
@@ -102,11 +102,8 @@ OpenDir::open_write(CacheVC *cont, int allow_if_writers, int max_writers)
}
int
-OpenDir::signal_readers(int event, Event *e)
+OpenDir::signal_readers(int /* event ATS_UNUSED */, Event * /* e ATS_UNUSED */)
{
- NOWARN_UNUSED(e);
- NOWARN_UNUSED(event);
-
Queue<CacheVC, Link_CacheVC_opendir_link> newly_delayed_readers;
EThread *t = mutex->thread_holding;
CacheVC *c = NULL;
@@ -1089,9 +1086,6 @@ sync_cache_dir_on_shutdown(void)
int
CacheSync::mainEvent(int event, Event *e)
{
- NOWARN_UNUSED(e);
- NOWARN_UNUSED(event);
-
if (trigger) {
trigger->cancel_action();
trigger = NULL;
@@ -1220,9 +1214,8 @@ CacheSync::mainEvent(int event, Event *e)
#define HIST_DEPTH 8
int
-Vol::dir_check(bool fix)
+Vol::dir_check(bool /* fix ATS_UNUSED */) // TODO: we should eliminate this parameter ?
{
- NOWARN_UNUSED(fix);
int hist[HIST_DEPTH + 1] = { 0 };
int *shist = (int*)ats_malloc(segments * sizeof(int));
memset(shist, 0, segments * sizeof(int));
@@ -1400,8 +1393,7 @@ dir_corrupt_bucket(Dir *b, int s, Vol *d)
dir_set_next(e, dir_to_offset(e, seg));
}
-EXCLUSIVE_REGRESSION_TEST(Cache_dir) (RegressionTest *t, int atype, int *status) {
- NOWARN_UNUSED(atype);
+EXCLUSIVE_REGRESSION_TEST(Cache_dir) (RegressionTest *t, int /* atype ATS_UNUSED */, int *status) {
ink_hrtime ttime;
int ret = REGRESSION_TEST_PASSED;
View
@@ -107,9 +107,8 @@ CacheDisk::clearDisk()
}
int
-CacheDisk::clearDone(int event, void *data)
+CacheDisk::clearDone(int event, void * /* data ATS_UNUSED */)
{
- NOWARN_UNUSED(data);
ink_assert(event == AIO_EVENT_DONE);
if ((size_t) io.aiocb.aio_nbytes != (size_t) io.aio_result) {
@@ -123,9 +122,8 @@ CacheDisk::clearDone(int event, void *data)
}
int
-CacheDisk::openStart(int event, void *data)
+CacheDisk::openStart(int event, void * /* data ATS_UNUSED */)
{
- NOWARN_UNUSED(data);
ink_assert(event == AIO_EVENT_DONE);
if ((size_t) io.aiocb.aio_nbytes != (size_t) io.aio_result) {
@@ -151,10 +149,8 @@ CacheDisk::openStart(int event, void *data)
}
int
-CacheDisk::openDone(int event, void *data)
+CacheDisk::openDone(int /* event ATS_UNUSED */, void * /* data ATS_UNUSED */)
{
- NOWARN_UNUSED(data);
- NOWARN_UNUSED(event);
if (cacheProcessor.start_done) {
SET_HANDLER(&CacheDisk::syncDone);
cacheProcessor.diskInitialized();
@@ -177,10 +173,8 @@ CacheDisk::sync()
}
int
-CacheDisk::syncDone(int event, void *data)
+CacheDisk::syncDone(int event, void * /* data ATS_UNUSED */)
{
- NOWARN_UNUSED(data);
-
ink_assert(event == AIO_EVENT_DONE);
if ((size_t) io.aiocb.aio_nbytes != (size_t) io.aio_result) {
@@ -247,11 +247,9 @@ CacheHostTable::Match(char *rdata, int rlen, CacheHostResult * result)
}
int
-CacheHostTable::config_callback(const char *name, RecDataT data_type, RecData data, void *cookie)
+CacheHostTable::config_callback(const char * /* name ATS_UNUSED */, RecDataT /* data_type ATS_UNUSED */,
+ RecData /* data ATS_UNUSED */, void *cookie)
{
- NOWARN_UNUSED(name);
- NOWARN_UNUSED(data);
- NOWARN_UNUSED(data_type);
CacheHostTable **ppt = (CacheHostTable **) cookie;
eventProcessor.schedule_imm(NEW(new CacheHostTableConfig(ppt)));
return 0;
@@ -618,9 +616,8 @@ CacheHostRecord::Init(matcher_line * line_info, CacheType typ)
}
void
-CacheHostRecord::UpdateMatch(CacheHostResult * r, char *rd)
+CacheHostRecord::UpdateMatch(CacheHostResult * r, char * /* rd ATS_UNUSED */)
{
- NOWARN_UNUSED(rd);
r->record = this;
}
@@ -903,8 +900,7 @@ int execute_and_verify(RegressionTest * t);
void save_state();
void restore_state();
-EXCLUSIVE_REGRESSION_TEST(Cache_vol) (RegressionTest * t, int atype, int *status) {
- NOWARN_UNUSED(atype);
+EXCLUSIVE_REGRESSION_TEST(Cache_vol) (RegressionTest * t, int /* atype ATS_UNUSED */, int *status) {
save_state();
srand48(time(NULL));
*status = REGRESSION_TEST_PASSED;
@@ -56,10 +56,8 @@ Cache::link(Continuation * cont, CacheKey * from, CacheKey * to, CacheFragType t
}
int
-CacheVC::linkWrite(int event, Event * e)
+CacheVC::linkWrite(int event, Event * /* e ATS_UNUSED */)
{
- NOWARN_UNUSED(e);
- NOWARN_UNUSED(event);
ink_assert(event == AIO_EVENT_DONE);
set_io_not_in_progress();
dir_insert(&first_key, vol, &dir);
@@ -122,10 +120,8 @@ Cache::deref(Continuation * cont, CacheKey * key, CacheFragType type, char *host
}
int
-CacheVC::derefRead(int event, Event * e)
+CacheVC::derefRead(int /* event ATS_UNUSED */, Event * /* e ATS_UNUSED */)
{
- NOWARN_UNUSED(e);
- NOWARN_UNUSED(event);
Doc *doc = NULL;
cancel_trigger();
View
@@ -170,11 +170,8 @@ CacheVC::openReadFromWriterFailure(int event, Event * e)
}
int
-CacheVC::openReadChooseWriter(int event, Event * e)
+CacheVC::openReadChooseWriter(int /* event ATS_UNUSED */, Event * /* e ATS_UNUSED */)
{
- NOWARN_UNUSED(e);
- NOWARN_UNUSED(event);
-
intptr_t err = ECACHE_DOC_BUSY;
CacheVC *w = NULL;
@@ -458,11 +455,8 @@ CacheVC::openReadFromWriter(int event, Event * e)
}
int
-CacheVC::openReadFromWriterMain(int event, Event * e)
+CacheVC::openReadFromWriterMain(int /* event ATS_UNUSED */, Event * /* e ATS_UNUSED */)
{
- NOWARN_UNUSED(e);
- NOWARN_UNUSED(event);
-
cancel_trigger();
if (seek_to) {
vio.ndone = seek_to;
@@ -505,11 +499,8 @@ CacheVC::openReadFromWriterMain(int event, Event * e)
}
int
-CacheVC::openReadClose(int event, Event * e)
+CacheVC::openReadClose(int event, Event * /* e ATS_UNUSED */)
{
- NOWARN_UNUSED(e);
- NOWARN_UNUSED(event);
-
cancel_trigger();
if (is_io_in_progress()) {
if (event != AIO_EVENT_DONE)
@@ -631,11 +622,8 @@ CacheVC::openReadReadDone(int event, Event * e)
}
int
-CacheVC::openReadMain(int event, Event * e)
+CacheVC::openReadMain(int /* event ATS_UNUSED */, Event * /* e ATS_UNUSED */)
{
- NOWARN_UNUSED(e);
- NOWARN_UNUSED(event);
-
cancel_trigger();
Doc *doc = (Doc *) buf->data();
int64_t ntodo = vio.ntodo();
@@ -798,11 +786,8 @@ Lread: {
if you change this you might have to change that.
*/
int
-CacheVC::openReadStartEarliest(int event, Event * e)
+CacheVC::openReadStartEarliest(int /* event ATS_UNUSED */, Event * /* e ATS_UNUSED */)
{
- NOWARN_UNUSED(e);
- NOWARN_UNUSED(event);
-
int ret = 0;
Doc *doc = NULL;
cancel_trigger();
@@ -961,11 +946,8 @@ CacheVC::openReadStartEarliest(int event, Event * e)
// the volume lock has been taken when this function is called
#ifdef HTTP_CACHE
int
-CacheVC::openReadVecWrite(int event, Event * e)
+CacheVC::openReadVecWrite(int /* event ATS_UNUSED */, Event * /* e ATS_UNUSED */)
{
- NOWARN_UNUSED(e);
- NOWARN_UNUSED(event);
-
cancel_trigger();
set_io_not_in_progress();
ink_assert(od);
@@ -275,8 +275,7 @@ CacheTestSM::CacheTestSM(const CacheTestSM &ao) : RegressionSM(ao) {
SET_HANDLER(&CacheTestSM::event_handler);
}
-EXCLUSIVE_REGRESSION_TEST(cache)(RegressionTest *t, int atype, int *pstatus) {
- NOWARN_UNUSED(atype);
+EXCLUSIVE_REGRESSION_TEST(cache)(RegressionTest *t, int /* atype ATS_UNUSED */, int *pstatus) {
if (cacheProcessor.IsCacheEnabled() != CACHE_INITIALIZED) {
rprintf(t, "cache not initialized");
*pstatus = REGRESSION_TEST_FAILED;
Oops, something went wrong.

0 comments on commit cf21050

Please sign in to comment.